You need to put javascript in an external file and include it with <script
src="script.js"></script>

You can find out more about csp @
https://developer.mozilla.org/en-US/docs/Security/CSP


On 13 June 2013 20:11, A. Crespo <[email protected]> wrote:

> Hi there,
>
> I need some help. I'm trying to use getElementById using the following
> code:
> http://pastebin.com/Ercsu9wQ
>
> It seems to work on Firefox and GoogleChrome, but it doesn't seem to
> work on FirefoxOS.
>
> What am I doing wrong? This is my logcat:
> http://pastebin.com/hKRx7zgn
>
> Thanks!
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to