logo       

Re: [jQuery] Form plugin revisited ;-): msg#01195

lang.javascript.jquery

Subject: Re: [jQuery] Form plugin revisited ;-)

On 10/13/06, Mike Alsup <malsup@xxxxxxxxx> wrote:
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@xxxxxxxxxx
http://jquery.com/discuss/
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise