jQuery.fn.formToArray = function(semantic) {
var a = [];
var q = semantic ? ':input' : 'input,textarea,select,button';
jQuery(q, this).each(function() {
How does jQuery(':input', this) differ from jQuery('input,textarea,select,button', this) ?
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/