I believe it is time for be to get reading glasses. I cut and pasted your code and it works. So obviously I have a typo somewhere.
Thanks for all the help, at least I learnt a few tricks on how to debug i.e. alert and the tip from Jerome regarding console.debug cheers -- View this message in context: http://osgeo-org.1560.x6.nabble.com/web-layout-script-tp5175525p5176513.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users