dbnt.co.kr2023/common/secureimage/scripts/secureimage.js

19 lines
437 B
JavaScript

String.prototype.trim = function() {
return this.replace(/^\s+/, '').replace(/\s+$/, '');
}
String.prototype.blank = function() {
return /^\s*$/.test(this);
}
function secure_image_reload()
{
$("img#imgSecureImage").attr("src","/common/secureimage/secureimage_view.php?key=" + Math.random());
}
$(document).ready(function(){
$("a#aImageReload").click(function(){
secure_image_reload();
return false;
});
});