Questions tagged [.post]

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.

Docs

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…
-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,
bla2eOD
  • 77
  • 6
-4
votes
2 answers

Convert $.post to $.ajax

I want to convert my $.post call to $.ajax call because I need to clean the cache for every call. My $.post call is as follows: $.post("test", function(data) { $("#test").html(data); …
newbie
  • 14,582
  • 31
  • 104
  • 146
1 2 3
18
19