Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit button

Status
Not open for further replies.

Copierbw

Technical User
Sep 25, 2002
112
IE
How do I replace a normal &quot;submit&quot; button -- <input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot;> --
with only text that says &quot;Submit&quot;.

I don't want to have a physical button on the screen but rather a text link with the function of &quot;submit&quot; embedded?
 
You could do something like this:
Code:
<html>
<head>
<script>
function popUp() {
	alert ('Popup');
}
</script>
</head>
<body>
<div onclick=popUp();>Submit</div>

</body>
</html>

In the javascript function you could call the form's submit method:
Code:
form1.submit();

Thanks,

Gabe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top