My guess is it is the submit button that passes the variables. Here is the code that calls the function named enter.
<input type="button" onclick="enter()"value="submit" name="Button">
well, window.location.href worked in IE5, but not in Netscape. In Netscape 4.7, I am passed through to the ftp site, but not given the permissions needed to view certain files. IN Netscape 6, I just get an error that says:
Error: enter is not defined.
Funny, I looked at the code on my original HTML page and the semicolon is not there. It , along with other stuff, was inserted into my message when I posted. Perhaps just giving the URL to the login page would be best.
http://www.phoenixsoftware.com/signin.htm
When logging into an ftp site, one usually puts their ID and password in the following format )minus the "/s" around the @ symbol):
ftp://userID:password/@/myftpsite.com
The way things are now, one has to go through a rather cumbersome login process in both Netscape and IE5. Users do...
here is my code again. enter() is defined as a function
<script language-"javascript">
<!--
function enter()
{
user = document.frm.user.value;
pass = document.frm.pwd.value;
window.location = "ftp://"+user+":"+pass+"@phoenixsoftware.com/pub/";
}...
you click on "Submit" and it doesn't do anything.
<script language-javascript> <!--
function enter()
{
user = document.frm.user.value;
pass = document.frm.pwd.value;
window.location
=...
okay here is where I'm at presently.
When a user logs in as anonymous, they are to enter "anonymous" in the user ID field, and their email address in the password field. However the "@" symbol in the email address seems to confuse IE, so I get an error message page.
So then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.