Click here to Skip to main content
15,896,915 members

Comments by Jaishp (Top 1 by date)

Jaishp 23-Dec-15 8:06am View    
Deleted
Hi, thanks for your response, this is my code.
function gettiffview(val, dtype) {

$(".LightBox").removeData();
$.ajaxSetup({ cache: false });
var url = '/Search/TiffImageViewer?ids=' + val + '&type=' + dtype + '&RequestedModule=dashboard';
$(".LightBox").colorbox({ iframe: true, innerWidth: "95%", innerHeight: "95%", href: url, Title: "Tiff Image Viewer" });
$.ajax({
url: '@Url.Action("CheckSession", "Search")',
success: function (data) {
if (data == 'False') {
parent.$.fn.colorbox.close();
window.parent.location.reload();
}
}
});
if (ie == 8) {
RemoveExtraDivs();
}
return true;
}
.getting error colorbox not a function.