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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ZTl8QfeAHEMJ.
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