Here is my code:
(function($){ $.fn.pluginbutton = function (options) { myoptions = $.extend({ left: true }); return this.each(function (
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.