function fnOpenPreview(ImgName) { var hdnImagepath = document.getElementById("ContentPlaceHolder1_hdnImagepath"); var pnlPreview = document.getElementById("pnlPreview"); var img = document.getElementById("ContentPlaceHolder1_imgPreview"); if (ImgName != "") { img.src = hdnImagepath.value + ImgName; $('.testdata').fancybox ( { 'scrolling': 'no', 'href': '#pnlPreview' } ); return false; } else { img.src = ""; alert("No Preview avaiable."); return false; } }
ImgName
function fnOpenPreview(ImgName) { debugger; //other codes.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)