Link to home
Start Free TrialLog in
Avatar of swathi111
swathi111

asked on

javascript confimation box with textbox

Hi,

On click of Reject button, it has to show a pop up message which is given in the attachment.

The Reason field is an optional field. If user click on OK button then btnReject_Click event should fire. If user click on cancel button btnReject_Click should not be executed.

If I use javascript built in function prompt box then I am not able to design exactly same as in attachment means not able to display "Are you sure........" message and "Reason..." field in two lines. So do I need to design separate page for this? or how?
Reject.jpg
ASKER CERTIFIED SOLUTION
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial