TypeError: $("#search-form").jqTransform is not a function

1.7k views Asked by At

i will use jqTransform (plugin of jquery); but when page loaded show error on firebug :

TypeError: $("#search-form").jqTransform is not a function
[Break On This Error]   

...'#search-form').jqTransform({imgPath: "http://localhost/bankemelk/includes/img/"...

this is my code :

<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>
1

There are 1 answers

0
Petar On

you can try with $("#search-form").jqTransform(); it should automatically load the right image but it seems that you aren't including it as you should. Show your code...

Anyway, if I may, here is a replacement for jqtransform that I've started 7 months ago. http://www.pkoretic.net/csTransPie/

I've made it exactly because of all the problems jqtransform had. It started as jqtransform improvement, now is something else and better I hope...