The dialog API doesn't support that. Though you could select the
button directly:
$("button:contains(Ok)").attr("alt", "foobar")
Jörn
On Fri, Aug 28, 2009 at 11:57 PM, Kemps Almeida
Vieira<[email protected]> wrote:
>
> How can I set a "Alt" attribute in buttons dialog modal form?
>
> Follow an example:
>
> $("#modalForm").dialog({
> bgiframe: true,
> autoOpen: false,
> modal: true,
> buttons: {
> Ok: function() ...
> ...
> }).dialog('open');
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---