我将使用 jqTransform(jquery 插件);但是当页面加载时在萤火虫上显示错误:
TypeError: $("#search-form").jqTransform is not a function
[Break On This Error]
...'#search-form').jqTransform({imgPath: "http://localhost/bankemelk/includes/img/"...
这是我的代码:
<script type="text/javascript">
$(function(){
$('#search-form').jqTransform({imgPath: "<?php echo base_url(); ?>includes/img/"});
$('#search-form1').jqTransform({imgPath: "<?php echo base_url(); ?>includes/img/"});
console.log();
});
</script>