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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
when you use text , you exactly tell the jquery ui core to treat that string as a text.
You can simply use HTML like this :