On Oct 26, 7:12 am, Ruttstar <
therutts...@googlemail.com> wrote:
> Hi Larry:
>
> Don't know why the red isnt showing, its the function:
Because it is the groups interface.
>
> document.getElementById("change").onclick = function()
> {
> alert(markers.length);
> for( i=0;i<markers.length;i++)
> {
> markers[i].setVisible(map.markers[i].type == 'Restricted');
>
>
>
> }
> alert("Success");
> }
> }
>
> Dont know why link didnt show either:
http://www.s218287072.websitehome.co.uk/sample.php
Because it is the groups interface.
I get obvious javascript errors on that link.
Both your map and markers variables are local to your load function.
They need to be global to be accessible to javascript run from html.
-- Larry
>
> On Oct 26, 2:49 pm, "
geocode...@gmail.com" <
geocode...@gmail.com>
> wrote:
>
>
>
> > On Oct 26, 6:40 am, Paul Rutt <
therutts...@googlemail.com> wrote:
>
> > > Hi Larry,
>
> > > Don't know what you mean with regards to 'mangled', have no idea
> > > what debugger your using and the text is in red in my post?
>
> > See how it appears in the group interface:
http://groups.google.com/group/google-maps-js-api-v3/browse_frm/threa...