Problem with insertion of HTML into a SPAN

Problem with insertion of HTML into a SPAN

I am very new to jQuery. I am trying to inject a HTML string into a span whose ID is msg. The normal javascript :

document.getElementById("msg").innerHtml("result");


The above is what does it in javascript way! How do i do it in jQuery way. I was trying something like:

$("#msg").innerHtml("result");


but I didnt have luck!! Please help me out with this[/code]