what is the meaning of this code:
aoData.push({"name":"more_data","value":"my_value"});
where is more_data and my_value get from?
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.
more_data and my_value are strings…
that means that value never change! They aren’t variables!
aoData is an array, and push is adding in the array that values…
push function is like $arrayvar[] = “test”; on the PHP
It adds the value to the end of the array…