How can I dynamically set the text of the dialog box that I'm opening? I've tried a few different things but they all respond with an empty dialog box.
Here is my current try:
$('#dialog').text('Click on the link to download the file:
'.data); $('#dialog').dialog("open");