Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. raeanita

    Counting the number of input fields on a page

    Hi Yes, something like this: for (x=0; x < document.FormName.elements.length; x++){ if (document.FormName.elements[x].value == &quot;&quot;){ //some code } } To be helpful to the user though, the //some code should give an indication of which field is empty - you can use the...
  2. raeanita

    Problem using focus and anchors in IE

    Hi I am using the following function which is called by onLoad in the BODY tag (e.g <BODY onLoad=FieldFocus('email');>): function FieldFocus(fieldstr) { document.forms[1].elements[fieldstr].focus(); if(document.forms[1].elements[fieldstr].type != &quot;select-one&quot;) {...

Part and Inventory Search

Back
Top