I have the following:
<div id="info-message"></div>
I am changing the text in between the DIVs like this:
$('#info-message').html = "xxx";
However even though I can step through this in the firebug debugger I don’t see any change on the screen and nothing is added when I look with firebug.
Because
htmlis a method, you need to call it like one:Currently, you are setting the
htmlproperty of the jQuery object to the string “xxx”.