Re: I don't find how to execute javascript code placed in an external html file

2012-02-22 Thread Fibo
The jit-loader route is really simple. Just one warning for php and asp developers: be aware that the javascript will be executed EACH time the external file is called. So if you want to place an eventListener, use some logic to be sure to place it only once! On 18 fév, 03:08, Fibo wrote: > Thx

Re: I don't find how to execute javascript code placed in an external html file

2012-02-17 Thread Fibo
Thx Sean. Will explore the jit-loader route which seems simpler. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To view this discussion on the web visit https://groups.google.com/d/msg/iphonewebdev/-/6GSSbjQaIVwJ. To post to this group, send e

Re: I don't find how to execute javascript code placed in an external html file

2012-02-17 Thread Sean Gilligan
On 2/17/12 10:35 AM, Fibo wrote: The title is slightly obscure, so here is a more detailed description of my problem. 1 - I have a main page (say A) which of course loads the css and js needed for it. 2 - I make a href to an external file (say B). In this file B is some html code AND javascrip

Re: I don't find how to execute javascript code placed in an external html file

2012-02-17 Thread Fibo
B-) I forgot to mention that I am using iUI (in case there is a doubt!). -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To view this discussion on the web visit https://groups.google.com/d/msg/iphonewebdev/-/VIZAD_3GbvUJ. To post to this group

I don't find how to execute javascript code placed in an external html file

2012-02-17 Thread Fibo
The title is slightly obscure, so here is a more detailed description of my problem. 1 - I have a main page (say A) which of course loads the css and js needed for it. 2 - I make a href to an external file (say B). In this file B is some html code AND javascript code working on this (B) html cod