* @desc Serialize a selection of input elements to a string
* @desc Serialize a selection of input elements to a string
*
*
* @name serialize
* @test var data = $(':input').serialize();
* @type String
* ok( data == 'action=Test&text2=Test&radio1=on&radio2=on&check=on&=on&hidden=&foo[bar]=&name=name&button=&=foobar&select1=&select2=3&select3=1', 'Check form serialization as query string' );
* @cat AJAX
*
*/
* @name serialize
jQuery.fn.serialize=function(){
* @type String
return$.param(this);
* @cat AJAX
};
*/
serialize:function(){
return$.param(this);
}
});
// If IE is used, create a wrapper for the XMLHttpRequest object
// If IE is used, create a wrapper for the XMLHttpRequest object