www.gusucode.com > baigo CMS PHP开源网站管理系统 v1.2.2源码程序 > baigocms_v1.2.2/bg_sso/static/js/reloadImg.js
/*重新载入图片*/ function reloadImg(imgId, imgSrc) { var _append = '&' + new Date().getTime() + 'at' + Math.random(); $("#" + imgId).attr('src', imgSrc + _append); }