If I understand the question, you would just use the buttons option to
add the button like this:

$('.selector').dialog({
     buttons: {
          "Logout": function() { window.open("http://www.google.com";,
"logout"); }, //set the url to your logout page
          "Cancel": function() { $(this).dialog("close"); } // and/or
any other additional buttons you want
     }
});

Hth,

Dave


On Sep 28, 1:59 pm, Vynnus <[email protected]> wrote:
> I'm also needing this explaned. Anybody?
>
> On 15 set, 18:19, Peter Hagendoorn <[email protected]> wrote:
>
> > Dear members of this group,
>
> > Is there by any chance a way to get anhyperlinkworking as an button
> > within the dialog box? Since i need it to give it a "finishing touch"
> > to get a log out option, which has a nice dialog box popping up,
> > however, i cannot get ahyperlinkin the box.
>
> > I know it is possible within the div itself, but it would be nice if
> > it could be like an anchor with link. Any ideas? Am i missing
> > something? Or would you recommend doing it within the div itself?
--~--~---------~--~----~------------~-------~--~----~
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