Can anyone tell me how can i use a variable for button text in jQuery UI dialog? I want to make a dynamic button name.
And don't forget
$($("button", $(".info_dialog").parent())[1]).html("Button text here.");