I know that $(\"#divId\").html() will give me innerHtml. I also need its styles (which might be defined by the means of classes) either in-line style
$(\"#divId\").html()
style
The .css() method gets a particular style of the element... I don't know if you can retrieve all styles:
http://api.jquery.com/css/