Re: [jQuery] Looping help

2010-01-12 Thread John Arrowwood
Before we start, note this: http://www.w3schools.com/tags/att_standard_id.asp which says that an ID must begin with a letter. So you are going to need to modify your HTML so that your ID values are letter then number. Chances are, this is your whole problem. var list = /* JSON array */ for ( va

Re: [jQuery] Looping help

2010-01-11 Thread Randall Morgan
Here is a print out of the Json array returned from my php script. ["http:\/\/localhost\/f-stopart2\/photoshoots\/n\/PICT0853.JPG","http:\/\/localhost\/f-stopart2\/photoshoots\/n\/PICT0855.JPG","http:\/\/localhost\/f-stopart2\/photoshoots\/n\/PICT0856.JPG","http:\/\/localhost\/f-stopart2\/photosho

Re: [jQuery] Looping help

2010-01-11 Thread John Arrowwood
What does your JSON array look like? On Mon, Jan 11, 2010 at 9:23 PM, Randall Morgan wrote: > Hello, > > I'm still pretty new to JQuery and I need to figure out how to loop > over a json array and assign the array values to each of a list of > divs. What I need to do is fill each filmstrip-cell