hi
im using combobox for loading data from db,when im executing my code in IE im getting this error message.
its working fine with Mozilla and chrome aswell.
var temp_arr = new Array();
function doInitGrid()
{
var fac_id=$("#cbo_fac_id").val();
$.ajax({
async:true,
type:"POST",
data:"fac_id="+fac_id,
url:"filename.php",
success:function(msg)
{
if(msg!='')
{
var job=msg.split("#");
for(var i=0;i<job.length;i++)
{
var arr=job[i].split("~");
mygrid.getCombo(1).put(arr[0],arr[1]);//arr[0]->value, arr[1]->Label
temp_arr[arr[0]]=arr[1];
}
}
}
});
the data of combobox
<?php
$fac_id=$_POST['fac_id'];
$emp_name="select emp_code,first_name from tbla_emp where facility_id='$fac_id' order by first_name";
$rs=$conn->Execute($emp_name);
$b="";
while(!$rs->EOF)
{
if($b=="")
$b=$rs->fields[0]."~".$rs->fields[1];
else
$b.="#".$rs->fields[0]."~".$rs->fields[1];
$rs->MoveNext();
}
echo $b;
?>