please bury this XHTML ..
it is not dead,
yes there are certain items that REQUIRE valid XHTML
the problem is not the document.write .. I use document.write and it passes..
the problem is the way java script formats the URL's ..
Frank came to me for help after the 'Holier the Tho' attitudes here

-Jeff Lake
MichiganWxSystem.com
WeatherMichigan.net
TheWeatherCenter.net
GRLevelXStuff.com


On 1/23/2012 1:03 AM, Michael Geary wrote:
Also, is it a requirement for your app that you use XHTML? If it isn't a requirement, why bother? From looking at the iPhone example, it seems that it doesn't require XHTML.

Word on the street is that XHTML is dead and nearly buried. HTML5 has moved away from that model completely.

-Mike

On Sun, Jan 22, 2012 at 9:59 PM, Michael Geary <[email protected] <mailto:[email protected]>> wrote:

    Andrew also said "The standard script tag doesn't work, because of
    'document.write'. You need the asynchronous loader."

    Follow his link again and scroll down just a bit to
    "Asynchronously Loading the API".

    -Mike

    On Sun, Jan 22, 2012 at 6:20 PM, Frank Natoli
    <[email protected] <mailto:[email protected]>> wrote:

        Andrew provided a link to
        
_http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Loading_the_Maps_API_
 The
        code at that link is exactly the code I am now using, with the
        API key. If you see something different in the code I posted
        from the link above, could you please point it out?
        The code I am writing is intended for an Apple iPad app, not a
        server. Google provides an entire page dedicated to
        iPhone/iPad apps at
        http://code.google.com/apis/maps/articles/tutorial-iphone.html so
        I think it unlikely that my use is a violation of Google's own
        sample code and sample iPhone application.
        Let me point out again that this code, even without the API
        key, works just fine under straight HTM but fails under XHTML.
        Thanks for your help.
-- You received this message because you are subscribed to the
        Google Groups "Google Maps JavaScript API v3" group.
        To view this discussion on the web visit
        https://groups.google.com/d/msg/google-maps-js-api-v3/-/-wL5upvJL24J.


        To post to this group, send email to
        [email protected]
        <mailto:[email protected]>.
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:google-maps-js-api-v3%[email protected]>.
        For more options, visit this group at
        http://groups.google.com/group/google-maps-js-api-v3?hl=en.



--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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/google-maps-js-api-v3?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google 
Maps JavaScript API v3" 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/google-maps-js-api-v3?hl=en.

Reply via email to