[OSM-dev] need some javascript help

jamesmikedupont at googlemail.com jamesmikedupont at googlemail.com
Wed Feb 24 16:59:52 GMT 2010


thank you!

On Wed, Feb 24, 2010 at 5:10 PM, Nick Whitelegg <Nick.Whitelegg at solent.ac.uk
> wrote:

> >Another cleaner option is to use all that AJAX magic stuff to load the
> >content in a <div> rather than in an <iframe>.
>
> >May I suggest you the "ajax for dummies" book? It's a nice hands-on
> >introduction to this javascript stuff.
>
> AJAX is easy. ;-)
> Particularly if you use prototype (www.prototypejs.org). I don't think
> I've needed to use an iframe in my life. :-)
>
> See, for example (absolute bare-bones example, you have to enter one of
> the three specified destinations and "010708" for the date):
>
> http://www.free-map.org.uk/course/ajaxexample.html
>
> The javascript queries the server with what the user entered in the 2 text
> fields, the server sends a load of text back and loads it into a specified
> <div>.
>
> Nick
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100224/56e8d498/attachment.html>


More information about the dev mailing list