in reply to Authentication with WWW::Mechanize
and that clicking the submit button actually runs this code rather than do the usual CGI-submit. I'm not into JavaScript, but perhaps it can explain WWW::Mechanize not working.<SCRIPT LANGUAGE="JavaScript"> <!-- if (window!= top) top.location.href=location.href; var form; function init(){ form = document.li; if (form.USERID.value == "") form.USERID.focus(); } var scount = 0; function submitForm(){ scount++; if (scount==1) form.submit(); else return false; } // --> </SCRIPT>
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Authentication with WWW::Mechanize
by shenme (Priest) on Sep 20, 2005 at 04:55 UTC |