Javascript Alert Problem
I am trying to add an alert box so that the user can choose either Yes or No or Ok and Cancel, but it is not working correctly.I have to do a database check which is done in c shar
Solution 1:
your code is absolutely correct. only syntax error. just remove "\" before starting the double quotes in the line-> Response.Write("return confirm(\"Are you sure?\")"); replace with this line Response.Write("return confirm("Are you sure?\")");
Post a Comment for "Javascript Alert Problem"