[Project_owners] Using XPath to validate fields

David Murray lid2000 at tpg.com.au
Wed Mar 30 22:54:21 EST 2005


Wow. Clearly I am an idiot. Thanks!

David Murray wrote:

> I thought that didn't go beyond one level...? *checks*
> 
> Neil wrote:
> 
>> David Murray wrote:
>>
>>>    var xp = "//wizard/wizardpage[" + pagenum + "]//textbox";
>>>    var textboxes = evaluateXPath(page, xp);
>>
>>
>>
>> Why not just use var textboxes = 
>> document.documentElement.currentPage.getElementsByTagName("textbox");
>> _______________________________________________
>> Project_owners mailing list
>> Project_owners at mozdev.org
>> http://mozdev.org/mailman/listinfo/project_owners
>>
>>
>>
>>
> 
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 
> 
> 
> 



More information about the Project_owners mailing list