![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/05/2007, 05:54
|
| | Fecha de Ingreso: febrero-2007
Mensajes: 111
Antigüedad: 18 años Puntos: 0 | |
Re: onLoad el ambito de this.nom solo es el interior del onLoad, asi que si quieres utilizar ese valor fuera, asignale ese valor dentro del onLoad a una variable global.
form.onLoad = function()
{ _root.servidor_txt.htmlText = this.nom
}
o tambien por ejemplo
form.onLoad = function()
{
servidor_txt.htmlText = this.nom; _root.variableglobal = this.nom;
}
o tambien por ejemplo
form.onLoad = function()
{
servidor_txt.htmlText = this.nom; _global.variableglobal = this.nom;
} |