Hi, I'm javascript "challenged" and I have a quick question.
I'm working on a clients site, and I ran across the following code. Is there any reason at all to use javascript here? I'm about to stick that url in action where it belongs, but I wanted to get someone's take who actually works with javascript more than once every 6 months. (That would be me.)
There had to be SOME reason to do that, right?Code:<form method="post" action="" name="logInForm" onsubmit="return login();"> <script> function login() { this.location.href="https://signin.website.com/page.dll?SignIn&var=SomeParam=site%3Dhttp%3A%2F%2Freferringwebsite%2Ecom%26Xnumber%3D9736769"; return false; } </script>






Bookmarks