[Project_owners] Using XPath to validate fields

David Murray lid2000 at tpg.com.au
Wed Mar 30 22:45:59 EST 2005


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
> 
> 
> 
> 



More information about the Project_owners mailing list