JavaScript and client side scripting.
Moderator: General Moderators
tpra21
Forum Newbie
Posts: 22 Joined: Wed Jul 20, 2005 6:20 pm
Post
by tpra21 » Fri Sep 09, 2005 8:27 am
I can't get this image to work as a submit button for my form. When the image (submit button) is clicked, it does nothing. Am I missing a line of code?
Code: Select all
<form action="" method="post">
</form></table>
<div align="center"><img src="images/temp01.gif" width="183" height="124" alt="" border="0"></div>
<div align="center"><img src="images/title01.gif" width="183" height="35" alt="" border="0"></div>
<nobr><div style="padding-top: 10px; padding-left: 20px;">
<input type="Text" name="user" value=" LOGIN" size="15" mazlength="30"><br>
<input type="password" name="pass" value=" PASSWORD" size="10" maxlength="30">
<input type="Image" src="images/b_go.gif" name="sublogin" width="22" height="28" alt="" border="0" align="absmiddle">
</div></nobr>
Thanks for any help
anjanesh
DevNet Resident
Posts: 1679 Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India
Post
by anjanesh » Fri Sep 09, 2005 8:32 am
Shouldnt you have your <input /> elements within the <form></form> elements ?
tpra21
Forum Newbie
Posts: 22 Joined: Wed Jul 20, 2005 6:20 pm
Post
by tpra21 » Fri Sep 09, 2005 8:37 am
Problem fixed, I needed to included <form> tags around the outside of the code.
THANKS anjanesh!!