I'm loading data from a mysql db on a page - if certain criteria are met in
this data, I put up a button, where I'll want the user to click the button
and have a dialog appear (with yet more data from a mysql db).  I can't get
the liverquery part to work - seems simple and I get no errors.  Here is how
I'm getting my button:

[code]
        if ($row['location'] == "home")  {   
                ?>
                <button id="bttn1" value="volunteer">Volunteer</button> 
....
[code]

up top in js, I've got what I think is livequery being called (but obviously
not):
[code]
    $('#bttn1')
        .livequery('click', function() {
                $("#dialogTest").dialog({
             modal: true,
             autoOpen: false,
             width: 600,
             dialogClass: "flora",
            overlay: {opacity: 0.5, background: "black"}
        });
        });
[/code]

After i get livequery working, I'll worry about calling a url in the dialog
part... Is there something simple I am missing?
-- 
View this message in context: 
http://www.nabble.com/basic-livequery-and-dialog-question-tp21640942s27240p21640942.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to