I am using web browser control in my project ,i can display html data easily with this control,
now i am trying to include jquery in this html but any how it does not seems to be working
WebBrowser webwsr = new WebBrowser();
String WebBrwseHTML = "<html><head><script type='text/javascript' src='jquery-1.7.1.js'></script><script type='text/javascript'>$(document).ready(function () { $('div').css('background-color', 'Red'); })</script></head><body><div>DUMMY</div></body></html>";
webwsr.NavigateToString(WebBrwseHTML);
what i am doing wrong here