검색결과 리스트
글
$.fn.serializeObject = function() {
var o = {};
var a = this.serializeArray();$.each(a, function() {
if ( o[this.name] ) {
if ( !o[this.name].push ) {
o[this.name] = [o[this.name]];
}
o[this.name].push(this.value || '');
} else {
o[this.name] = this.value || '';
}
});
return o;
};
'JavaScript > jQuery' 카테고리의 다른 글
[jQuery] jQuery-File-Upload (0) | 2014.05.06 |
---|---|
[jQuery] jQuery Form validator (0) | 2013.11.18 |
[jQuery] DataTables (table plug-in) (0) | 2013.01.02 |
[jQuery] jQuery, attr(), the selected property, IE6 bug (0) | 2012.12.06 |
[jQuery] jQuery 구 버전 다운받기 (0) | 2012.12.06 |
RECENT COMMENT