Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
really I didnt find anyhing like I want....

there is a fade and popup jquery model dialog this is link: Easy jQuery Modals dialog

I want to use this modal dialog for login page login page has two textbox and a button for ex.

you will enter your user name and password and then click the button.button click event goto my sql database table and you are a member or not return this...
if you no a member this jquery modal will run gives me error messaje you are not a member....

how to do my friends..thanks for your help
Posted
Updated 2-Jan-13 17:34pm
v2

Please see:
http://docs.jquery.com/UI/API/1.8/Dialog[^],
http://forum.jquery.com/topic/blockui-modal-dialog-issue[^],
http://jqueryui.com/dialog/[^].

Or you may need a modal window, which is somewhat different thing:
http://www.queness.com/resources/html/modal/jquery-modal-window.html[^].

Using the keywords "jQuery", "modal", "window" and "dialog" with some search engine, you can find good number of samples, jQuery plug-ins with demo.

—SA
 
Share this answer
 
Comments
Member-2338430 2-Jan-13 18:46pm    
thanks
Sergey Alexandrovich Kryukov 2-Jan-13 18:50pm    
You are welcome.
OK, will you then accept the answer formally (green button)? — thanks.
—SA
Member-2338430 2-Jan-13 18:58pm    
I think these links not about my question so ı didnt use green button
how to run modal dialog in button click event my question is net?
Sergey Alexandrovich Kryukov 2-Jan-13 19:00pm    
Whatever, but I wonder what else are you missing? Don't know how to handle a click, or what? :-)
—SA
Member-2338430 2-Jan-13 19:07pm    
thanks :)
hi,

on button click id user credential is not valid then register this script from server side.

function DisplayDialog() {
    $("#dialog").dialog({
        buttons: {
            'OK': function() {
                $(this).dialog('close'); // Close dialog                
            },
            'Cancel': function() {
                $(this).dialog('close'); // Close dialog
            }
        }
    })
}


For more information check this link http://jqueryui.com/dialog/[^]
 
Share this answer
 
Comments
Member-2338430 3-Jan-13 16:58pm    
thank you very much this solution like my problem not same but ok.
Member-2338430 3-Jan-13 16:59pm    
you are at least interested.not say advice.thank you.
Read the tutorials on that site. Look at the examples. If you want help after that, post code so we can see what you're doing.
 
Share this answer
 
Comments
Member-2338430 2-Jan-13 18:51pm    
is this your solution just advise
Christian Graus 2-Jan-13 19:23pm    
There is no solution to idiocy and illiteracy.
Member-2338430 3-Jan-13 16:42pm    
if you say like that you r idiocy and illiteracy you didnt understant anything or not read so writing to tell you something...there is 3 or 4 member in this site they are writing code in NASA :)heuheuheuheuh you are programmer other member idiot

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