pass username & password from a form to js filepass username & password from a form to js filehow do i go about passing the username and password which the client fills into a form to the js file parameters. The form fields are on my main page which has an iframe that the applet_ftp.html page shows up in when they imput there username and password and click "login". how do i pass that user name and password info to the .js file so it works.
Re: pass username & password from a form to js fileTwo solutions:
1 - Pass as applet parameters: <PARAM NAME="username" VALUE="yourloginhere"> <PARAM NAME="password" VALUE="yourpasswordhere"> 2 - Pass with JavaScript document.fileupload.setParameter("username","yourloginhere"); document.fileupload.setParameter("password","yourpasswordhere"); http://www.jfileupload.com/products/jfi ... aq.html#49 Does it help ? |