File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Using onload instead of onclick
Muhammad Imad Qureshi
Joined: Sep 13, 2005
Apr 18, 2006 11:21:00
I have two buttons inmy jsp with yes or no value. I want to get rid of both the buttons and always do what the button does when yes is clicked.
How do I replace the following code
<input type="button" value="YES" class="frm_button_short"
<input type="button" value="NO" class="frm_button_short"
I have tried using onload but that doesn't seem to work.
Author and ninkuma
Joined: Jan 10, 2002
Apr 18, 2006 11:26:00
Asking smart questions
Books by Bear
Joined: Nov 08, 2001
Apr 18, 2006 13:08:00
What trouble are you having....
Don't get me started about those stupid
subject: Using onload instead of onclick
Switching form action based upon radio selection
on button click value is not getting
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014