Load a gadget.
I'm testing the following:
- Load gadget OK
- JQM widget in gadget should be enhanced OK
- Gadget inline-CSS executed (red button 1) OK
- Gadget inline-JS executed (yellow button 2) FAIL = Javascript is
executed but before JQM enhances the widget, so you cannot access
any elements, JQM adds/removes during enhancement
- Add a link (3rd button) to page2. On page 2 another gadget should
be loaded = FAIL: in JQM, when you go from page A to page B you stay on page A
and page B is loaded via Ajax and appended to the DOM (The url should
be pageA.html#page2_id, but with pushState enabled this is not visible).
Question: Is there a method to trigger loading gadgets into an existing page?