I'm Using Jquery Ui Dialog and have problem setting text. I'm using this code to insert a link:
$('#dialog').text(<a href=\"#\" >Click Here</a>).dialog();
But it shows the code and tags instead of the link. How can I use tags there?
Check http://jqueryui.com/dialog/ The place where the text appears is:
<div id="dialog" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
And in the documentation (http://api.jqueryui.com/dialog/) there is no .text as function