What the difference between text() and html() functions in jQuery ?
$(\"#div\").html(\'Linkhello\
$('.div').html(val) will set the HTML values of all selected elements, $('.div').text(val) will set the text values of all selected elements.
API docs for jQuery.text()
API docs for jQuery.html()
I would guess that they correspond to Node#textContent and Element#innerHTML, respectively. (Gecko DOM references).