views:

506

answers:

1

In jQuery//dialog you can make a button like this:

dialog({ buttons: { "Ok": function() { $(this).dialog("close"); } } });

Can I make this button with a hyperlink to somewhere instead?

A: 

You can hook on the beforeclose event and navigate to the link you wish with window.location.href = "NEW_URL" or alike.

Tzury Bar Yochay