posted 13 years ago
Thanks for your replies..
@swastik I cannot make these buttons of submit type because i want to retain the control on the same jsp page..
i have two functionality in save button.
first case:
1.user clicks add button to insert new records--->clear all the textboxes and enables save and cancel button.
2.user can either click save or cancel.
second case:
1.user clicks edit button to edit the existing record.
2.either save or cancel
now i am not getting how to identify which button has been clicked..need to replace this ### in if condition