I'm using this as an example of code I'm working on. Usually I declare a <div> in the html so that I can access it via _gel(id).innerHTML. My point is that Chrome isn't supporting this basic functionality whether I have something in or not in the div initially!
...and thanks to the person that pointed out Firefox 12 worked. I upgraded my version. +1 On Fri, Jun 8, 2012 at 1:49 AM, Estiven Guerrero <[email protected]>wrote: > What do you mean >.> lol > I just don't see the point on the div tags if you're just gonna close them > with nothing in between. > > On Thu, Jun 7, 2012 at 4:31 PM, skseo <[email protected]>wrote: > >> i tested it on FF 12.0 and it shows "Hello, world!" >> >> chrome does show blank. maybe js is disabled?!? >> >> @Estiven >> >> u are sometimes funny >> >> Am Donnerstag, 7. Juni 2012 17:52:49 UTC+2 schrieb wagtail: >> >>> In any browser except Opera, GGE Preview seems to fail to generate >>> anything. For example, consider this code: >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <Module> >>> <ModulePrefs title="hello world example" /> >>> <Content type="html"><![CDATA[ >>> <div id="hello"></div> >>> <script type="text/javascript"> >>> _gel("hello").innerHTML="**Hello, world!"; >>> </script> >>> ]]></Content> >>> </Module> >>> >>> Paste it in Opera, and then in Chrome (which I prefer to develop in) or >>> any other browser. The code will work in Opera preview but does not seem >>> to work in any other common browser. Maybe I'm missing something really >>> basic? What is the issue? >>> >>> Thanks! >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "iGoogle Developer Forum" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/Google-Gadgets-API/-/zYKcyT7ay1gJ. >> >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/Google-Gadgets-API?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "iGoogle Developer Forum" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/Google-Gadgets-API?hl=en. > -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en.
