[Project_owners] Getting XBL-described Textbox Reference
basic at mozdev.org
Wed Sep 15 14:36:29 EDT 2004
Bradley E. Rintoul wrote:
> Formerly, I could do something like this:
> var textB = document.getElementById( "textboxInQuestion" );
> textB.value = "desired value";
> But now I cannot.
> Do I need to use getAnonymousElement type of stuff? Does anyone know
> how to do this?
try textB = document.getAnonymousElementByAttribute(elementBoundTo,'id','textboxInQuestion');
note that elementBoundTo is the element the xbl binding is bound to.
More information about the Project_owners