i am building my page with javascript which contains check boxes
for(i=0;i<pair.length(); i++){
t+="<INPUT type='checkbox' name='chkCookieBox' value=";
t+= Id ;
t+= ":" ;
+=Name ;
}
document.getElementById.('bookmark')innerHTML=t;
}
id and name = 100:went to school, 104:came from school etc But when i get a value of the same checkboxes in different function
oName = document.getElementsByName("chkCookieBox");
if(oFavs)
{
for(var i=0;i<oName.length;i++) {
if(oName[i].checked == false) {
alert("oName[ii]"+ oName[i].value);
}}}
the alert msg shows me only 100:went ie only the first
word of the name. Could anyone please let why its truncating the Name if it has more then one word.
[ December 02, 2007: Message edited by: Anju Rao ]