MCPcopy
hub / github.com/QwikDev/partytown / eachFormElement

Function eachFormElement

tests/integrations/hubspot/shell.js:7924–7940  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7922 }
7923 }
7924 function eachFormElement() {
7925 var e,
7926 t,
7927 n = this,
7928 i = function (e, t) {
7929 var i, a, r;
7930 for (i = 0; i < t.length; i++) {
7931 r = e[byTag](t[i]);
7932 for (a = 0; a < r.length; a++) serial(r[a], n);
7933 }
7934 };
7935 for (t = 0; t < arguments.length; t++) {
7936 e = arguments[t];
7937 /input|select|textarea/i.test(e.tagName) && serial(e, n);
7938 i(e, ['input', 'select', 'textarea']);
7939 }
7940 }
7941 function serializeQueryString() {
7942 return reqwest.toQueryString(reqwest.serializeArray.apply(null, arguments));
7943 }

Callers

nothing calls this directly

Calls 2

serialFunction · 0.70
iFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…