solution:
<input type="checkbox" onClick="testing(this,<%= getSecond(0) %>);"...
function testing(oneelement, catId)
{
var status = 'unChecked';
if (oneelement.checked)
{
status = 'checked';
alert('You have ' + status + ': ' + catId);
}
else
{
alert('You have ' + status + ': ' + catId);
}
Yes, I'm still freaking out about thee not being a for loop in there. The problem got solved at:
http://www.tek-tips.com/viewthread....d=964029&page=1
Have a fine day
Wind is your friend
Matt