masters good day... im using php but i incorporate jscript.. can you help me with message box YES/NO? i had tride alert ("do you want to delete?"); i know there is something missing to show the buttons YES and NO... can you help me guys ? tnx in advance..
You can use a Confirm box. The user will have to click either "OK" or "Cancel" to proceed. var userInput = confirm("Please confirm your action"); if (userInput == true) { x="You pressed OK"; } else { x="You pressed Cancel"; } Code (markup): If you want a 'Yes' / 'No' option you can try the jQuery UI dialog instead.