jquery - is not a function error

后端 未结 7 455
傲寒
傲寒 2020-11-30 02:06

Here is my code:

(function($){
    $.fn.pluginbutton = function (options) {
        myoptions = $.extend({ left: true });
        return this.each(function (         


        
7条回答
  •  春和景丽
    2020-11-30 02:52

    In my case, the same error had a much easier fix. Basically my function was in a .js file that was not included in the current aspx that was showing. All I needed was the include line.

提交回复
热议问题