[Project_owners] Using XPath to validate fields

Neil neil at parkwaycc.co.uk
Thu Mar 31 13:37:51 EST 2005


Eric Jung wrote:

>You might consider changing:
>  textboxes[z].focus();
>to something like
>  textboxes[z].setAttribute("style", "background: red; color: white");
>to make them stand out.
>  
>
That's not guaranteed to work. For a start the theme might already have 
white textboxes on a red background. Or it might use !important rules. 
Or it might use -moz-appearance...


More information about the Project_owners mailing list