No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a validation function and the this is the last thing it does. [code = var mytext=document.getElementById("sizip") if(check5(mytext,"Zip Code must be 5 digits.")==false) {mytext.focus();return false;} function check5(mytext,alerttxt){ var re5digit=/^\d{5}$/ //regular expression defining a 5 digit number if (mytext.value.search(re5digit)==-1) //if match failed alert(alerttxt);return false; ] It will validate ok, if … |
|
In my searching, I think I know the answer, it seems that any time you want to do input using HTML, it references a form. Is this also true with buttons? Does ALL user feed back in HTML require a form? I am not speaking of Java Script, just HTML. |
|
I am somone who has just spent the last 275 years trying to get a combo box to advance to a text box based on what is selected via HTML and javascript. After 24,000,000,012 google searches, I have got 24,000,000,012 ways to do it and none work. I spent the … |