hmmmm... doesn't <!-- mean to consider everything following a comment?

On Aug 31, 1:32 am, Justy <[EMAIL PROTECTED]> wrote:
> Maybe this is just my own experience but I've found that the UIWebView
> will not display html in which there is no
>
> <script type="text/javascript" src=""></script>
>
> pattern.  Even if, as above, no script source or inline code is
> provided, including this snippet in the normal location seems to get
> around this.
>
> I should point out that I'm sourcing my html from my main bundle.
>
> Check this out:
>
> <script type="text/javascript" src=""></script>
> This will display
>
> <!--script type="text/javascript" src=""></script-->
> This will not
>
> - I've not even put these inside <body> or <html> tags.. seems that
> UIWebView *must have* that JS tag.. weird... or.. I'm just missing
> something fundamental.  Oh, and yes, completely valid HTML without the
> JS fails.
>
> Hope this helps someone- it stopped me for about an hour!

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