Sorry, but I didn´t understand this line of code!
Where do I put this code?

Follow my complete modal form code:

           $("#modalForm").dialog({
                  bgiframe: true,
                  autoOpen: false,
                  modal: true,
                  height: 500,
                  width: 700,
                  buttons: {
                      'Ok': function() {
                          PostJsonFormData();
                          $(this).dialog('close');
                      },
                      'Cancel': function() {
                          $(this).dialog('close')
                      }
                  }
              });

On Aug 31, 1:15 pm, Cheng Chi <[email protected]> wrote:
> $("#modalForm").dialog(options).find(".ui-dialog-buttonpane button").eq(*
> index*).attr("alt",*yourvalue*);
>
> On Mon, Aug 31, 2009 at 11:07 PM, Kemps Almeida Vieira <
>
> [email protected]> wrote:
>
> > How can I set a button "Alt" attribute in a dialog modal form?
>
> > Follow an example about button "OK" in my dialog modal form:
>
> > $("#modalForm").dialog({
> >                  bgiframe: true,
> >                  autoOpen: false,
> >                  modal: true,
> >                  buttons: {
> >                      Ok: function() ...
> > ...
--~--~---------~--~----~------------~-------~--~----~
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