I think that the parameters are passed to JavaScript function and I'm not passing them properly because the script pass them to the html form and I'm not sure if it passes them to the function as well<ul> <li id="unLi" class="unLi"><input class="text" id="userName" type="tex +t" maxlength="15" /></li> <li class="blank"></li> <li id="pwLi" class="pwLi"><input class="text" id="pcPassword" type="p +assword" maxlength="15"/></li> </ul>
unction CheckUserPswInvalid() { var userName = $("userName"); var pcPassword = $("pcPassword"); if(!CheckUserPswChars(userName.value)) { userName.select(); userName.focus(); return false; } if(!CheckUserPswChars(pcPassword.value)) { pcPassword.select(); pcPassword.focus(); return false; } return true; }
In reply to Re^2: Automating backup with WWW::Scripter
by bachoA4o
in thread Automating backup with WWW::Scripter
by bachoA4o
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |