Posted By:
Ramki_Kumar
Posted On:
Monday, February 25, 2008 12:53 AM
Hi, I'm using the below javascript to access ParrStr values and send it to the next page. function check() { var frm=document.forms.stream_selection sel_num = new Array(); Parr = new Array(); for(j=1;j <1000;j++) { if(frm[j] != null) { if(!frm[j].checked) { frm[0].checked=false; } else { Parr.push(j); ParrStr=Parr.join(','); } } } document.getrElementById('ParrStr').value=ParrStr; } I'm using the form tag and accessing the ParrStr as below: and I'm using $_POST (PHP c
More>>
Hi,
I'm using the below javascript to access ParrStr values and send it to the next page.
function check()
{
var frm=document.forms.stream_selection
sel_num = new Array();
Parr = new Array();
for(j=1;j
<1000;j++)
{
if(frm[j] != null)
{
if(!frm[j].checked)
{
frm[0].checked=false;
}
else
{
Parr.push(j);
ParrStr=Parr.join(',');
}
}
}
document.getrElementById('ParrStr').value=ParrStr;
}
I'm using the form tag and accessing the ParrStr as below:
and I'm using $_POST (PHP code) in the next page to access this ParrStr values but i'm not access it. Please help.
Thanks,
Ramki.
<<Less