Hi
This is a javascript issue
see http://www.w3schools.com/jS/js_functions.asp about user defined
functions
Regards Davie

On Aug 16, 2:28 pm, Kok <[email protected]> wrote:
> I'm trying to adjust the onclick:() function so it selects more categories
> from my database but it doesn't work out! Hopefully someone can help me with
> this problem:
>
> Script original, only checks the first category:
> <input type="checkbox" id="catbox" onclick="boxclick(this,'cat1')"/>
>
> I already tried more events in the onclick function, but this only works out
> for the first 2 events:
> <input type="checkbox" id="catbox"
> onclick="boxclick(this,'cat1');boxclick(this,'cat2');boxclick(this,'cat3')"/>
>
> I also have tried this, but it doesn't work out:
> <input type="checkbox" id="catbox"
> onclick="boxclick(this,'cat1','cat2',cat3')"/>
>
> Hopefully someone knows the answer!

-- 
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