docker_deployment_notes/shinobi/ShinobiHub - Article How to use FTP-based Event Triggering in Shinobi_files/jquery_002.js

1 line
230 B
JavaScript

$.fn.serializeObject=function(){"use strict";var a={},b=function(b,c){var d=a[c.name];"undefined"!=typeof d&&d!==null?$.isArray(d)?d.push(c.value):a[c.name]=[d,c.value]:a[c.name]=c.value};return $.each(this.serializeArray(),b),a};