Stop running this script?
Stop running this script?
smsorensen
Posts: 8Questions: 0Answers: 0
In IE I am getting the "Stop running this script?" dialog box. I am pushing an xml response into an array and loading it. I also truncate the xml response so it is never over 1000 records. The performance is actually very good in IE, if the dialog didn't pop up then all would be roses.
Any suggestions would be great!
BTW - I am very impressed with the plug-in and how incredible responsive Alan is.
[code]
var searchResultList = $(jData).find('SearchResultList');
var searchResults = searchResultList.children();
var loadDataArray = new Array();
var loadRowArray = new Array();
searchResults.each(function(i){
loadRowArray = [];
var plannedDeliveryDate = $(this).find('plannedDeliveryDate').text();
var equipment = $(this).find('equipment').text();
var client = $(this).find('clientName').text();
var shipmentId = $(this).find('shipmentId').text();
var scac = $(this).find('SCAC').text();
var scacDescription = $(this).find('SCACDescription').text();
var plannedShipDate = $(this).find('plannedShipDate').text();
var actualShipDate = $(this).find('plannedDeliveryDate').text();
var status = $(this).find('status').text();
var system = $(this).find('system').text();
var shipFrom = $(this).find('shipFrom').text();
var shipFromCity = $(shipFrom).find('city').text();
var shipFromState = $(shipFrom).find('state').text();
var shipFromZip = $(shipFrom).find('zip').text();
var shipTo = $(this).find('shipTo').text();
var shipToCity = $(shipTo).find('city').text();
var shipToState = $(shipTo).find('state').text();
var shipToZip = $(shipTo).find('zip').text();
var scacCombo = scac + "-" + scacDescription;
loadRowArray.push(plannedDeliveryDate);
loadRowArray.push(shipFrom);
loadRowArray.push(shipTo);
loadRowArray.push(equipment);
loadRowArray.push(client);
loadRowArray.push(shipmentId);
loadRowArray.push(scacCombo);
loadRowArray.push(plannedShipDate);
loadRowArray.push(actualShipDate);
loadRowArray.push(status);
loadDataArray.push(loadRowArray);
});
shipmentSearchResultsTable.fnAddData(loadDataArray);
[/code]
Any suggestions would be great!
BTW - I am very impressed with the plug-in and how incredible responsive Alan is.
[code]
var searchResultList = $(jData).find('SearchResultList');
var searchResults = searchResultList.children();
var loadDataArray = new Array();
var loadRowArray = new Array();
searchResults.each(function(i){
loadRowArray = [];
var plannedDeliveryDate = $(this).find('plannedDeliveryDate').text();
var equipment = $(this).find('equipment').text();
var client = $(this).find('clientName').text();
var shipmentId = $(this).find('shipmentId').text();
var scac = $(this).find('SCAC').text();
var scacDescription = $(this).find('SCACDescription').text();
var plannedShipDate = $(this).find('plannedShipDate').text();
var actualShipDate = $(this).find('plannedDeliveryDate').text();
var status = $(this).find('status').text();
var system = $(this).find('system').text();
var shipFrom = $(this).find('shipFrom').text();
var shipFromCity = $(shipFrom).find('city').text();
var shipFromState = $(shipFrom).find('state').text();
var shipFromZip = $(shipFrom).find('zip').text();
var shipTo = $(this).find('shipTo').text();
var shipToCity = $(shipTo).find('city').text();
var shipToState = $(shipTo).find('state').text();
var shipToZip = $(shipTo).find('zip').text();
var scacCombo = scac + "-" + scacDescription;
loadRowArray.push(plannedDeliveryDate);
loadRowArray.push(shipFrom);
loadRowArray.push(shipTo);
loadRowArray.push(equipment);
loadRowArray.push(client);
loadRowArray.push(shipmentId);
loadRowArray.push(scacCombo);
loadRowArray.push(plannedShipDate);
loadRowArray.push(actualShipDate);
loadRowArray.push(status);
loadDataArray.push(loadRowArray);
});
shipmentSearchResultsTable.fnAddData(loadDataArray);
[/code]
This discussion has been closed.