what is the error in this code
error show object doesn’t support this property or method
Itenary Code :
itenary Name :
mygrid = new dhtmlXGridObject(‘gridbox’);
var _js_prefix="…/scripts/";
mygrid.setSkin(“xp”);
mygrid.init();
mygrid.enableAutoHeight(true);
mygrid.enableAutoWidth(true);//SearchItinerary
mygrid.imgURL=locationpath+’/Images/imgs/’;
mygrid.loadXML(locationpath+"/LoadData.aspx?ICode=All&PageName=SearchItinerary" +’&Mode=’+strSaveMethod);
myDataProcessor = new dataProcessor(locationpath+"/SaveData.aspx?ICode="+reportId+"&PageName=Media");
// mygrid.setOnRowDblClickedHandler(doOndblClick);
myDataProcessor.setVerificator(1)
myDataProcessor.setVerificator(3,checkIfNotZero)
myDataProcessor.setUpdateMode(“off”);//available values: cell (default), row, off
//mygrid.setOnKeyPressed(onKeyPressed);
mygrid.setOnRowDblClickedHandler(doOndblClick);
myDataProcessor.init(mygrid);
function doFilter(){
var _stritcode=document.getElementById(“txtitinerarycode”).value;
var _stritname=document.getElementById(“txtitineraryname”).value
if(_stritcode.length>1)
{
alert(_stritcode);
mygrid.filterBy(1,document.getElementById(“txtitinerarycode”).value);
}
else if(_stritname.length>1)
{
mygrid.filterBy(1,document.getElementById(“txtitineraryname”).value);
}
}