jQuery manages to execute internal code on pulled pages, might want to have a look there-
David Kaneda www.webkitbits.com www.jqtouch.com On Mar 31, 2009, at 1:19 PM, Tole 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 -~----------~----~----~----~------~----~------~--~---
