how to create YES/NO buttons in a popup?
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
I want to create yes/no buttons in a popup menu any ideas regarding this? :|
-
I want to create yes/no buttons in a popup menu any ideas regarding this? :|
Are you looking for simple javascript popup ? You can try
var r=confirm("Are you sure?");
if (r==true)
{
x="You pressed OK!";
}
else
{
x="You pressed Cancel!";
}But here you will see OK and cancel instead of yes/no. :)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
Visit My Website-->**
www.abhisheksur.com
Also read my book on all ongoing latest technology
.NET 4.5 Expert Cookbook