Click here to Skip to main content
12,398,000 members (47,823 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
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 2-Jan-13 12:34pm
Updated 2-Jan-13 17:34pm
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Comments
Member-2338430 2-Jan-13 18:46pm
   
thanks
   
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?
   
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 :)
   
You are very welcome.
Best wishes in New Year, call again.
—SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

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/[^]
  Permalink  
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.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100