Forums Register Login

Submit button

+Pie Number of slices to send: Send
I have created a JSP with an update button. in the form i have specified the action as onSubmit call a specific function. But it is not executing this. what could be the problem? help!
+Pie Number of slices to send: Send
Moving to the JSP forum.
+Pie Number of slices to send: Send
Hi,
whats your FORM tag. Can you give what you have used.
action = "javascript:myfunction()" and
<script language="javascript">
function myFunction() {....
}
</script>
Should work fine.
Cheers.
+Pie Number of slices to send: Send
Hi Smitha
Be sure that update button u r using shouldn't be a of input type="Submit". If it is change it to button also change the name of button other than submit b sure about the code on onclick
HIH
Regards
Vishal
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1219 times.
Similar Threads
actionPerformed to close dialog
opening a frame right beneath the calling button
GUI
reduce gap between image and button
Java Script to clear text box
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 02:33:13.