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
-~----------~----~----~----~------~----~------~--~---

Reply via email to