This is more for my reference and hopefully helps others working with JQuery. Getting and Setting the innerHTML of an element var content = $("#id").html(); $("#id").html("Some HTML"); Getting and Setting the text (with out any HTML) of an element var txt = $("#id").text(); $("#id").text("Some Text"); Removing content from an element $("#id").empty(); Getting and Setting style […]
↧