Below is my code
Same code is working in local server but not in live.
htmlC = ;
htmlC += '<select name=pagenum id=pagenum style=width:135px onChange=setPageSearchValue(this.value)>';
for(i=1 ; i<=tot_pages ; i++)
{
if(i.toString() == document.frmlist.start.value)
{
htmlC += <option value='+i+' 'selected' >+i+</option>;
}
else
{
htmlC += <option value='+i+'>+i+</option>;
}
}
htmlC += '</select>';
I have tried finding infinite loop but no success. Very same code is working in local server.