This helped me out, too! Thanks!
However, i'm wondering if it's possible to change the text of the
button(s) as well, via a passed parameter in a function call.
For example, here is my test.js:
function ShowDialog( ButtonText ) {
$("#Dialog").dialog( "option","buttons", { "Close Window": function
() { $(this).dialog('close'); } }, { "Button Text:" + ButtonText:
function() { $(this).dialog('close'); } } );
}
i get the following error:
'missing : after property id' and it's pointing to the plus after
"Button Text":
thanks in advance...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---