When writing a new jQuery plugin is there a straightforward way of checking that the current version of jQuery is above a certain number? Displaying a warning or logging an
Found this in jquery.1.3.2 source:
jQuery.fn = jQuery.prototype = { init: function( selector, context ) { ..... // The current version of jQuery being used jquery: "1.3.2",
I didn't check, but something like "$.fn.jQuery" might work.