Hi Tole, You're right, in my webapp I have a home page in which I include the css files and the iui.js file. And I can't run any JavaScript on any page. I'm not sure to understand all you want to say because i'm no specialist of Ajax, but is there a way for me to add some basic Javascript that works for handling user interaction events ?
Thank you for your answer. On 31 mar, 19:19, Tole <[email protected]> wrote: > Hi Pierre, > I think that you are having javascript code in sub pages. Those pages > are grabbed with ajax and showen with innerHTML. Only firefoxis able > to interprete that kind of javascript source usage. > > Tole > > On Mar 31, 9:13 am, Pierre <[email protected]> wrote: > > > I have to precise I was wrong : I just ran a few basic tests and it > > seems the alert function from my page works fine on firefox, and > > doesn't work at all on Safari (for Windows, Mac or on the iPhone > > Simulator). > > Any idea ? > > > On 31 mar, 03:58, Simon Fraser <[email protected]> wrote: > > > > On Mar 30, 2009, at 6:53 am, Pierre wrote: > > > > > <a href="javascript:('hello world');">Hello World</a> > > > > I think you want: > > > > <a href="javascript:alert('hello world');">Hello World</a> > > > > One thing you should do is to show the Debug console on the iPhone > > > (it's under the Safari panel in Settings); this will log JS errors. > > > You can also use the Web Inspector in Safari to find JS errors and > > > content issues. > > > > Simon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" 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/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
