View Full Version : Post userId and password to external site

07-09-2006, 04:34 AM

I have a HTML which takes the URL for logging in, userID and password. I want the Javascript embedded in my HTML to post userID and password to the URL entered, and then display the welcome page after logging in. How do I achieve this?
Also, the url entered can be HTTPS website too. So, does Javascript need to do encryption ?


07-09-2006, 02:13 PM
What does JavaScript have to deal with this. It can not handle user names and passwords securely. You need a serverside language to do this with a normal form submission.


07-09-2006, 02:28 PM
I *think* what the OP is after, is to have javascript alter the 'action' part of the form based on a url entered in an input field

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum