|
Notices |
|
Thread Tools | Rate Thread | Display Modes |
|
09-10-2012, 04:34 AM | #1 |
Registered User
Join Date: Aug 2012
Location: Kanpur
Posts: 40
|
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. |
09-10-2012, 10:20 PM | #2 |
Registered User
Join Date: Jun 2012
Posts: 93
|
Very nice sharing brother..thanks
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. :: To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the difference between javascript and HTML?? | eook.joc | Graphic Design | 20 | 03-12-2020 02:02 AM |
HTML Code Switching | wryfhk22 | Search Engine Optimization | 5 | 06-25-2019 02:44 AM |
BasicDifference between HTML 5 and HTML 4 | albertmorrison3 | HTML / DHTML | 14 | 12-06-2017 09:50 PM |
Differences with HTML 4 and HTML 5 | danielnelson | HTML / DHTML | 11 | 06-10-2012 09:21 PM |
including different files based on form select field | ncjbhd | PHP / mySQL | 0 | 09-26-2011 09:04 PM |