Thanks for the replies all. I ended up just having phpscript.php
return data like so:
response_currententry
Then javascript does another split on this returned data by an
underscore. It then checks item 0 of the new array (the response) and
depending upon what that response is, it will then
The script is a very dumbed down version of what I'm working on
Before you get into any complicated script, you need to grasp the
concept of Asynchronous
You main mistake is thinking that the loop is going to wait when you
make the $.ajax call... *it doesn't*...
I don't have the time right
On Jun 10, 7:44 am, psc petercar...@gmail.com wrote:
I am very new to javascript/jquery so bare with me. I am using this
loop code below with a populated array called listarray:
for(var i in listarray){
Don't use for..in to iterate over an Array, it can be problematic
unless you
3 matches
Mail list logo