in reply to Re^3: OT? Checkbox list with CGI/Javascript
in thread OT? Checkbox list with CGI/Javascript

"populating an array (user_ids for example), then giving that to the javascript via a template variable."

Hmm.. and how do I do that?

I've tried:

<input type="hidden" name="userArray" value=@userids>
And then:
var users = userForm.userArray;
In the java, then referring to users.length, but it's returning undefined.