I’m stuck now, in a background page, I would like use the .html() jQuery method on the popup.html DOM from background.html.
I found something with
var x = chrome.extension.getViews({type:"popup"});
What I have to do with x?
The popup may be closed.
x will be an array of the windows you asked for, which in this case is the popup so should only be one.
Something like this should get you going….
http://code.google.com/chrome/extensions/extension.html#method-getViews