Here i have a textbox in which user inputs html tags like <h1>hello</h1>
then i append that text to a td with
var text = $('textbox').val();
$('table').append('<tr><td style="padding:0px 12px;color:black">'+(text)+'</td></tr>');
Now what i want is the text in the td should come text as entered <h1>hello</h1>
and not hello with h1 tag
I tried escape and unscape but it didnt helped