Thursday, 26 September 2019

javascript - Turn a form into an associative array in Jquery

I have the following form:










How do I turn that into an associative array that can be accessed like the following?




formArray['name'], formArray['sku'], etc.

No comments:

Post a Comment