instead of using getParameterByName(‘Field’, PostData) (PostData == $(‘form’).serialize();)
I would like to write PostData.Field, how can i do that with javascript?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could write your own extension to return an object like you want, here’s what that looks like:
You’d call it by doing this:
Then you could access the values with dot notation like you want:
You can see this working against a demo
<form>here