advanced code snippet search
ryarwood on 06/22/11
1 person have marked this snippet as a favorite
Will populate #contentDiv with whatever is in the variable "content". Uses .html()
content = "<h1>HTML CONTENT HERE</h1>";$("#contentDiv").html(content);
Report this snippet
You need to login to post a comment.