Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
i want to need yes no button instead of ok cancel button through java scripts validation in asp.net or j query validation
Any one help me ??
how can i used it please give examples...
in web application.....

thanks in advance
Posted
Updated 6-May-13 2:31am
v2
Comments
ZurdoDev 6-May-13 8:15am    
You need to create your own. There are tons of jquery plugins that you can use.
[no name] 6-May-13 8:24am    
Repost and you already have a bunch of answers.

Use the below code


JavaScript
$('#ButtonId').click(function() {
  var Confirm = confirm("Are you sure?");
  if (Confirm == true) {
    //Your Confirm code
  }
});
 
Share this answer
 
check this link
messagebox-dialogue box[^]
 
Share this answer
 
Comments
[no name] 6-May-13 8:21am    
For ASP? I don't think so.
josh-jw 6-May-13 8:29am    
check this one
http://stackoverflow.com/questions/11046572/make-javascript-alert-yes-no-instead-of-ok-cancel

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900