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