Of course, that may not be the problem, either (at least, not directly).
It might be that your xmlHttpRequest is failing (possible if you're
making a "cross-origin" request[0]). If that happens, then your
getElementById will also fail. I would check to make sure you have the
proper permissions in your manifest to perform the request (Make sure
you don't include the port--8080--in the permissions; by default, all
ports on a domain are allowed).
[0] http://code.google.com/chrome/extensions/manifest.html#permissions
--
Ben
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
On Thu, 2010-09-02 at 09:47 +0300, PhistucK wrote:
> I believe he is not talking about extensions... this is
> chromium-discuss.
>
>
> Can you show us an example of the code that calls loadMenu(...)?
> And the HTML that corresponds to the element with the ID you need?
>
> ☆PhistucK
>
--
Ben