js代码
<script type="text/javascript" src="js/zoomio.js"></script> <script type="text/javascript"> function updatezoomioimage(targetid, src){ var $ = jQuery $('#'+targetid).attr('src', src) $('#'+targetid).zoomio() } </script>