in reply to Re: Automating backup with WWW::Scripter
in thread Automating backup with WWW::Scripter
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Automating backup with WWW::Scripter
by bliako (Abbot) on Apr 16, 2019 at 11:11 UTC |