quote:Originally posted by Dj Kat
the thing is when I use this:
document.getElementById('currentBox' + Current).checked=true;
it will work in firefox but it doesn't in Firefox.
Does someone knows the solution
You are to ahve two unrelated pieces of code, you can create a hidden element by using:
var oHidden = document.createElement("input");
oHidden.type = "hidden";
//append element to parent:
Your other code seems to be tring to access a checkbox, not a hidden field.
Joe (Microsoft MVP - XML