Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Closed Thread
do on submit? NEED HELP!!
Old 02-25-2006, 10:26 PM do on submit? NEED HELP!!
DJA
DJA's Avatar
Skilled Talker

Posts: 87
Trades: 0
I have this script and to make a long story short, I need to run a piece of code when the person presses the submit button of a form, NOT when the page loads, how can I do this? I need it to be in the same page, don't ask why I can't have them sent to a page then sent back, it won't work for my script.
__________________

Please login or register to view this content. Registration is FREE

Last edited by DJA; 02-25-2006 at 10:29 PM..
DJA is offline
View Public Profile Visit DJA's homepage!
 
 
Register now for full access!
Old 02-25-2006, 11:27 PM Re: do on submit? NEED HELP!!
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
not sure what you mean -- but try this:

in the <form> use this attribute: onSubmit=" "

maybe this will help?
jyoz22 is offline
View Public Profile
 
Old 02-25-2006, 11:52 PM Re: do on submit? NEED HELP!!
DJA
DJA's Avatar
Skilled Talker

Posts: 87
Trades: 0
YES! Thank you!
__________________

Please login or register to view this content. Registration is FREE
DJA is offline
View Public Profile Visit DJA's homepage!
 
Closed Thread     « Reply to do on submit? NEED HELP!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11623 seconds with 12 queries