";
}
else {
fragment += " Rs. " + Math.round(val.newgrossprice).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,") + ".00
";
fragment += " Rs. " + Math.round(val.netprice).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,") + ".00
";
fragment += " ";
fragment += "";
}
fragment += "";
});
document.getElementById('ContentPlaceHolder1_Limit1').innerHTML = slmin;
document.getElementById('ContentPlaceHolder1_Limit2').innerHTML = slmax;
document.getElementById('ContentPlaceHolder1_ReadyNext').innerHTML = "True";
dadvance = fragment;
}
function ErrorFunction4(error) {
// alert(error);
}
}
";
}
else {
fragment += " Rs. " + Math.round(val.newgrossprice).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,") + ".00
";
fragment += " Rs. " + Math.round(val.netprice).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,") + ".00
";
fragment += " ";
fragment += "";
}
fragment += "";
});
$("#dlist").append(fragment);
$("#LoadItem").css('visibility', 'visible');
}
function ErrorFunction1(error) {
// alert(error);
}
}
";
}
else {
fragment += " Rs. " + Math.round(val.newgrossprice).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,") + ".00
";
fragment += " Rs. " + Math.round(val.netprice).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,") + ".00
";
fragment += " ";
fragment += "";
}
fragment += "";
});
document.getElementById("dlist").innerHTML = "";
$("#dlist").append(fragment);
}
function ErrorFunction3(error) {
// alert('error');
}
}