Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends,

I have a requirement in jquery , I want Yes/No Buttons instead of OK/Cancel in confirm dialog box. please give me reply..
Posted
Updated 8-Oct-13 19:23pm
v2

1 solution

You can find some good examples here: http://theinfiniteloopblog.com/?f[^].

With jQuery, for example, you can create a wide set of fully custom dialogs (modal popups) inside your page, which can be much better then dialogs based on OS-provided windows. Please see:
http://jqueryui.com/dialog/[^].

If you need to learn jQuery (highly recommended), please see:
http://en.wikipedia.org/wiki/JQuery[^],
http://jquery.com/[^],
http://learn.jquery.com/[^],
http://learn.jquery.com/using-jquery-core/[^],
http://learn.jquery.com/about-jquery/how-jquery-works/[^] (start from here).

—SA
 
Share this answer
 
Comments
thatraja 8-Oct-13 13:08pm    
beat me to it, 5!
Sergey Alexandrovich Kryukov 8-Oct-13 13:10pm    
Thank you, Raja.
(A well-know Russian proverb says: "One bitten trades for three non-bitten ones" :-)
—SA
CH Guravaiah 9-Oct-13 1:22am    
please send the appropriate Answer.
Sergey Alexandrovich Kryukov 9-Oct-13 1:24am    
What a second, do you think my answer is inappropriate? It's interesting to know, why? :-)
—SA

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