I have written an ajax function where I want to display confirmation meeessage before submitting the form. How should I add with my condition. Below is my code.
ajax
Write your ajax into a function like:
function save(){ // something in here }
After that write a confirmation functionality, if user confirm then call save() function