开发者

Sending developed dom through chrome extension to a webservice

I am trying to create开发者_JAVA技巧 an extension to send the developed dom of the current tab to a web service at the push of a button, any one knows how I would go about it? methodology,code or simple advice will be appreciated.

I am noob :(


You need innerHTML:

var html = document.getElementById("element1").innerHTML;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜