📁 WP File Manager
M.A BIKASH
⚠️ WP Inactive
🏠 Root
/
home
/
markiiplrv
/
public_html
/
wp-includes
/
js
/
jquery
✓ Writable
✏️
Editing: jquery.serialize-object.js
(Writable)
✕ Close
📄 File:
jquery.serialize-object.js
📂 Path:
/home/markiiplrv/public_html/wp-includes/js/jquery
📊 Size:
769 B
🔐 Permissions:
0604
/*! * jQuery serializeObject - v0.2-wp - 1/20/2010 * http://benalman.com/projects/jquery-misc-plugins/ * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ // Whereas .serializeArray() serializes a form into an array, .serializeObject() // serializes a form into an (arguably more useful) object. (function($,undefined){ '$:nomunge'; // Used by YUI compressor. $.fn.serializeObject = function(){ var obj = {}; $.each( this.serializeArray(), function(i,o){ var n = o.name, v = o.value; obj[n] = obj[n] === undefined ? v : Array.isArray( obj[n] ) ? obj[n].concat( v ) : [ obj[n], v ]; }); return obj; }; })(jQuery);
💾 Save Changes
❌ Cancel
💡
Tips:
Editing does NOT change file permissions. Use the "Ch" button in the file list to change permissions.
Press
Ctrl+S
to save (if writable).
Make sure you have write permissions on the file and directory.