Javascript 'yes no' alert
I am going to make a button to take an action and save the data into database. Once click on the button, a javascript alert will ask me yes or cancel. Once select yes the data will be inserted to database else no action taken.

Anyone can help?
Javascript 'yes no' alert
===

I am going to make a button to take an action and save the data into database. Once click on the button, a javascript alert will ask me yes or cancel. Once select yes the data will be inserted to database else no action taken.

Anyone can help?