JavaScript
Article

jQuery Not Rendering HTML (special escape characters)

By Sam Deering

Using special escape characters will show the HTML tags and not render them. You need to use the special HTML function in jQuery in order display rendered html and not html tags.

function AjaxSucceeded(result) {
	$("#divEntryDisplay").html(result.d);
}

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in JavaScript, once a week, for free.