[jQuery] Plugin thoughts.
Hi,
I'm currently working on a plugin called "dataGrid", the plan is for it
to work on top a existing html structure in this case <tables>. Read in
the data and build the "data grid" dynamically. Features will for a
start include sorting of the different columns.
Now to the question:
Because not all browsers are supported by jQuery, and this plugin will
modify existing html-structures it would be great to have a function
like "$.isBrowserSupported()" (returning true / false) built in to the
core. That would enable plugin-writers to start there code with:
$.fn.debug = function() {
if($.isBrowserSupported()) {
return this.each(function(){
alert(this);
});
}
};
Any thoughts? does this make sense at all?
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/