On Mar 12, 4:11 pm, Chris Moody <[email protected]> wrote: > Ok, wishful thinking perhaps! > > Is there a reason why you suggest using the div onclick?
Just easy to style. You can use any DOM element with an onclick event, but that's outside of the scope of this group. > All I am getting is DELETE in the info window > (http://www.zpyder.co.uk/tess/gmap/test.html) - is this maybe because of this > line: > > var url = 'somePhpScript.php?task=delete&markerId=' + id; > > - is 'markerId' a typo, and you meant myMarkerID ? No, it's not a typo. The variables you pass to PHP have nothing to do with the javascript code, and again, that's outside of the scope of this group. Look at the error console in Firefox. marker.openInfoWindow(delhtml); should be marker.openInfoWindowHtml(delhtml); -- Marcelo - http://maps.forum.nu -- > > Thank you again for your help, > > Regards, > Chris Moody > > On Mar 12, 1:45 pm, Chris Moody <[email protected]> wrote: > > > > > On Mar 12, 12:06 pm, Marcelo <[email protected]> wrote: > > > > Everything is possible, so posting to the group instead of trying is > > > more indicative of laziness than of lack of knowledge. ;-) > > > Ok, I'm busted a little perhaps ;) though I did spend 3+ hours this > > morning literally staring at the code and not even knowing where to > > start. The google searches I was making didn't help so I just needed a > > little nudge in the right direction, which you have provided, so thank > > you very much for your help, hopefully my next post will be to say > > I've got it all working! > > > regards, > > Chris -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
