js代码
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script> <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>