|
-
Oct 17th, 2003, 09:42 AM
#1
Thread Starter
Lively Member
[JAVASCRIPT] Submit function
Hi
Can anyone help with a puzzling problem:
I have a form and the form has an action, to an external url and a method of post. This form is used to log into a website that is not ours.
If i put a button into the form labelled sumbit then the user is logged into this new form.
However if i use the following code then we are redirected to the page but not logged in.
<a onclick="javascript: Login();">Click here to login</a>
<script>
function Login()
{
theplusForm = document.forms['plusLogin'];
theplusForm.submit();
}
</script>
Anyone have any ideas?
Sarah
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|