I'm using the below javascript to access ParrStr values and send it to the next page.
- Code: Select all
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:
- Code: Select all
<form name="stream_selection" enctype="multipart/form-data" method="post" action="selected_streams.php">
<input type="hidden" name="ParrStr" id="ParrStr"/>
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.[/code]


