I use jquery to fill a asp:label
Jquery code:
$("#more15").text(<p> <b>Hello WOrld!</b> </p>);
Asp .net code:
<asp:Label runat="server" ID="more15" Text="" Font-Size="Small" Font-Italic="False"></asp:Label>
When I view the page it is shown like this:
<p> <b>Hello WOrld!</b> </p>
instead of:
Hello WOrld!
how could I fix this problem?
Thanks
/Mikael
Use the
htmlmethod instead of thetextmethod.