I have a jquery plugin which will contains $.fn.afterResize method. It is working for single call but if we call more than once it is not working... Please help me to resolve this isssue. I have developed two jquery plugins based on this $.fn.afterResize method but it is working only one of the two plugins if i use both plugins at a time $.fn.afterResize is not working. Please find the following code block of $.fn.afterResize method.
$("#dvTools").ToolsResizer(); --> I am using $.fn.afterResize in this plugin
$("#dvMenu").MenuResizer(); --> I am using $.fn.afterResize in this plugin
$.fn.afterResize = function (method) { if (methods[method]) { return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); } else { return methods.init.apply(this, arguments); } };