Say a user called $('div.foo') I would like to get this 'div.foo' from within my plug-in context.
$.fn.PlugIn = function (){ if (/table|tbody|thead|th|td|tr/.test($.query){ } }
Say a user called $('div.foo') I would like to get this 'div.foo' from within my plug-in context.
$.fn.PlugIn = function (){ if (/table|tbody|thead|th|td|tr/.test($.query){ } }