I noticed your using a dialogClass of flora, which leads me to think
you're probably using an old version of jQuery UI.  What version are
you using?

On Jun 6, 8:39 pm, ktpmm5 <[email protected]> wrote:
> I'm currently loading data from a mysql db - if a certain condition is met, a
> volunteer button is displayed.  When the button is clicked I want to display
> a dialog box, and a php file is called to populate the box.  First I
> initialize the dialog:
> [code]
> $(document).ready(function() {
>         $("#chaincrewDialog").dialog({ autoOpen: false });});
>
> [/code]
>
> Here is how I'm calling the dialog box:
>
> [code]
>         $('.volunteer').live("click", function(){
>                 // this gets the game number from the table to pass to the
> php file
>                 var gameno
> =$(this).parent('td').prev("td").prev("td").prev("td").prev("td").prev("td").html();
>
> $('#chaincrewDialog').dialog('open').load("popup.php?gameno="+gameno);
>     });
> [/code]
>
> My click button works fine, and there are no js or firebug error messages.
> My dialog is called with the following parameters:
> [code]
>  $(function() {
>     $('#chaincrewDialog').dialog({
>                 resizable: true,
>                 //bgiframe: true,
>         autoOpen:   false,
>         resizable:  false,
>         modal:      true,
>                 dialogClass: 'flora',
>                 title: 'Volunteer',
>                 overlay: {
>             opacity: 0.5,
>             background: "#A8A8A8"
>         },
>         height: 600,
>         width: 700,
>                 buttons: {
>                         'Close': function() {
>                         $(this).dialog('remove')
>                         }
>                 }
>     });
> [/code]
>
> I'm sure I'm missing something easy, but I can't get my dialog to even
> display....
> --
> View this message in 
> context:http://www.nabble.com/jquery-.live-with-dialog---dialog-not-working-t...
> 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