I am having two radio buttons on the page with Yes/No option and a payment received button right next to the radio buttons.
First time when the page is loaded, one of the two radio buttons is selected based on the boolean type field value in the database 0 OR 1.
when the user decides to change the value from yes to No and click the payment received button, I not only want to make changes to the database field but also show a confirm box for the user to be sure and then change the field value.
I am having javascript function in my html page,
I have two radio buttons, and a regular submit button,
In my code behind page i am writing an if statement and want to prompt the confirm box before i make the changes to the data field in the database.
right now when i run the program it changes the value in database, but does not show me the box.
Please help me.
Thanks/Saru
First time when the page is loaded, one of the two radio buttons is selected based on the boolean type field value in the database 0 OR 1.
when the user decides to change the value from yes to No and click the payment received button, I not only want to make changes to the database field but also show a confirm box for the user to be sure and then change the field value.
I am having javascript function in my html page,
I have two radio buttons, and a regular submit button,
In my code behind page i am writing an if statement and want to prompt the confirm box before i make the changes to the data field in the database.
right now when i run the program it changes the value in database, but does not show me the box.
Please help me.
Thanks/Saru