[Javascript] button?

tedd tedd at sperling.com
Thu Jun 15 09:48:26 CDT 2006


Hi:

Why does:

   <input type="button" value = "Upload" onclick="window.location='up.php' ">	

work, while:

   <button  onclick="window.location='up.php' ">Upload</button>

doesn't ?

What js could I use with <button> to do the same thing as above with <input type="button">?

Thanks in advance for any answers.

tedd		

-- 
------------------------------------------------------------------------------------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the Javascript mailing list