ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 10th, 2000, 04:52 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
How Can I Replace a Form's Submit Button with an Image

<i><b>Originally posted by : Dan Krause (dan@centech-group.com)</b></i><br />I would like to be able to click on an image and have it submit my form. I'm doing a intranet and using vbscript. I know to use the image onclick event to trap the click but I don't know how to call the submit from there. Thanks for any help.<br />

Reply With Quote
  #2  
Old April 11th, 2000, 03:06 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : C.Venkateshwar rao (venkat_cit@yahoo.com)</b></i><br /><br />Hi..<br /><br />In image onclick write the following code.<br />formname is the give form name by u.<br /> document.formname.method=post/get<br /> document.formname.action="page name where to<br /> submit"<br /> document.formaname.submit<br /><br /><br /><br />ex:<br /><br /> document.form1.mthod="post"<br /> document.form1.action="Add.asp"<br /> document.form1.submit<br /><br /><br />thats all...<br /><br />bye<br /><br /><br />------------<br />Dan Krause at 4/10/2000 2:52:27 PM<br /><br />I would like to be able to click on an image and have it submit my form. I'm doing a intranet and using vbscript. I know to use the image onclick event to trap the click but I don't know how to call the submit from there. Thanks for any help.<br />

Reply With Quote
  #3  
Old April 11th, 2000, 09:11 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Dan Krause (dan@centech-group.com)</b></i><br />Thanks. That was exactly what I needed.<br /><br /><br />------------<br />C.Venkateshwar rao at 4/11/2000 1:06:38 AM<br /><br /><br />Hi..<br /><br />In image onclick write the following code.<br />formname is the give form name by u.<br /> document.formname.method=post/get<br /> document.formname.action="page name where to<br /> submit"<br /> document.formaname.submit<br /><br /><br /><br />ex:<br /><br /> document.form1.mthod="post"<br /> document.form1.action="Add.asp"<br /> document.form1.submit<br /><br /><br />thats all...<br /><br />bye<br /><br /><br />------------<br />Dan Krause at 4/10/2000 2:52:27 PM<br /><br />I would like to be able to click on an image and have it submit my form. I'm doing a intranet and using vbscript. I know to use the image onclick event to trap the click but I don't know how to call the submit from there. Thanks for any help.<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > How Can I Replace a Form's Submit Button with an Image


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT