Saved X
Google login
SignUp with Email
X

How to fetch a single value from serialize()

theindreshverma ( Edited  26 Oct 2021, 12:04 am )
Login

var formData = $('form').serialize();
var fURL = "https://codesprogram.com?" +  formData;
var createURL = new URL(fURL);
var name = createURL.searchParams.get('name');

Sourcecode Tags

More Sourcecodes

More Sourcecodes