View Single Post
Old 09-10-2012, 04:34 AM   #1
omxwebtech
Registered User
 
Join Date: Aug 2012
Location: Kanpur
Posts: 40
Thumbs up javascript and HTML for the form fields you will need to edit

Hello friends!!
I have share the javascript and HTML for the form fields you will need to edit:
<body>
<SCRIPT language=”JavaScript”>
function OnSubmitForm()
{
if(document.pressed == ‘Email‘)
{
var email = prompt(“Please enter the email the form will be submitted to:”);
var toemail = “mailto:’” + email + “‘”;
document.emailform.action = (toemail);
}
}
</SCRIPT>
<form name=”emailform” onSubmit=”return OnSubmitForm();” method=”post” enctype=”text/plain”>
<Misc Text Fields>
<input type=”submit” onClick=”document.pressed=this.value” VALUE=”Email” />
</body>
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
l
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
l
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
l
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
omxwebtech is offline   Reply With Quote