|
Posted by adrian suri on 10/02/05 18:13
Hi again, hate to reply to myself but...
I think I am making progress, by removing the name attribute it now
passes w3, but I am having problems still getting the form value
form=ftplogs
feild=pssword
var passwrd=document.getElementById("ftplogs:pssword");
this returns a null string
any suggestions
adrian suri wrote:
> Hi
>
> having some problems with forms. under xhtml strict, a simple form to
> open an ftp session, seems to work under Mozilla but not IE 6a ny clues,
> and passes no tests, full location on my machine,
>
> question do you have to use the name attribute when using javascript, I
> thought it was going to be depreciated?
>
> http://os2.no-ip.info/
>
> It seems to work under Moz.. but IE shows a blank page
>
> Adrian
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <title>VPub Home Page</title>
> <snip... .................... meta info.>
> <link rel="stylesheet" type="text/css" href="/style/style.css" />
> <link rel="stylesheet" type="text/css" href="/style/forms.css" />
> <script type="text/javascript" src="/style/logon.js" />
> </head>
> <body>
> <h1>Welcom</h1>
> <p>Hi <snip...> ftp</p>
> <h1> Welcome to Vpub ftp logon</h1>
> <h2>Login to Local Ftp Server</h2>
>
> <form id="ftplogs" name="ftplogs" action="javascript:loadFtp()">
> <fieldset>
> <legend> log in details to os2.no-ip.info</legend>
> <label for="ftpuser">
> User Id
> <input id="ftpuser" name="ftpuser" type="text"
> value="" />
> </label>
> <label for="pssword">
> Pass word
> <input id="pssword" name="pssword" type="password"
> value="" />
> </label>
> <input class="submit" type="submit" value="Login" />
> </fieldset>
> </form>
> </body>
> </html>
[Back to original message]
|