A jQuery wrapper for an AJAX call using the HTTP POST method to send variables asynchronously from the current page without reloading or leaving the current page. Data can then be retrieved from the request and used on the current page.
Questions tagged [.post]
273 questions
-3
votes
2 answers
objects in the array are undefined
Why is the array undefined
My question is how do i get to display the objects inside the results array. I've tried console.log(data.results[0].bodyColor) and i get an error. When i try (data.results) i get undefined. when i try (data.results[0]) it…

Jose Guzman
- 3
- 2
-4
votes
2 answers
can't pass variable from jquery to php
i saw many solutions which are working for me too, but in this particular situation nothing works, i'll share the code and hope one can help me,