Using Image as the submit button : submit button : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » submit button »

 

Using Image as the submit button

















<html>
    <head>
        <title>Submit Example</title>
    </head>
    <body>
        <form id="form1" method="post" action="javascript:alert('Submitted')">
            <!-- regular textbox -->
            <label for="txtName">Name:</label><br />
            <input type="text" id="txtName" name="txtName" /><br />
            

            <!-- submit button -->
            <input type="image" src="http://www.navioo.com/style/logo.png" />
      
        </form>
    </body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» submit button