master_programmer
asked on
add onclick button to load another page
Hi,
I have a jsp form with two standard button labeld "accept" and "reject", what i want is :
when i click " accept" button it will load to another page called "accept.jsp" and
when i click " reject" button it will load to another page called "reject.jsp"
how to add this onclick action to the button ?
thanx
I have a jsp form with two standard button labeld "accept" and "reject", what i want is :
when i click " accept" button it will load to another page called "accept.jsp" and
when i click " reject" button it will load to another page called "reject.jsp"
how to add this onclick action to the button ?
thanx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<input type=button value="Send" onClick="document.location