A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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
Books by Bear
Joined: Nov 08, 2001
Apr 18, 2006 13:08:00
What trouble are you having....
I agree. Here's the link:
- it saves me about five hours per week
subject: Using onload instead of onclick
on button click value is not getting
Switching form action based upon radio selection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013