Re: storing django object into javascript variable/array

2011-06-15 Thread jay K.
Actually i had my code like this for(var i = 0; i < city_schools.length; i++){ . } But somehow i missed the .length when I posted my message... sorry if it caused any confusions I think the problem is that the data is not being stored in the array properly, or at least I'm not doing it right

Re: storing django object into javascript variable/array

2011-06-15 Thread John Finlay
On 6/15/11 8:59 AM, jay K. wrote: Hello, I apologize for seeming too impatient or rude, actually I'm a bit in a hurry because I was given a project and was told that it was urgent. I miscalculated how much time it was going to take me to learn django Anyway, what I want to do is to use the v

Re: storing django object into javascript variable/array

2011-06-15 Thread Tom Evans
On Wed, Jun 15, 2011 at 4:59 PM, jay K. wrote: > Hello, > > I apologize for seeming too impatient or rude, actually I'm a bit in a hurry > because I was given a project > and was told that it was urgent. I miscalculated how much time it was going > to take me to learn django > > Anyway, what I wan

Re: storing django object into javascript variable/array

2011-06-15 Thread Tim Sawyer
This might help: http://drumcoder.co.uk/blog/2009/nov/26/google-maps-django/ Tim. > Hello, > > I apologize for seeming too impatient or rude, actually I'm a bit in a > hurry > because I was given a project > and was told that it was urgent. I miscalculated how much time it was > going > to take

Re: storing django object into javascript variable/array

2011-06-15 Thread jay K.
Hello, I apologize for seeming too impatient or rude, actually I'm a bit in a hurry because I was given a project and was told that it was urgent. I miscalculated how much time it was going to take me to learn django Anyway, what I want to do is to use the variables variables city_schools, city_l

Re: storing django object into javascript variable/array

2011-06-15 Thread Tom Evans
On Wed, Jun 15, 2011 at 3:27 PM, jay K. wrote: > Hello, > > I've posted my question before, but I believe I didn't provide enough > detail. I intend to present my issue again, this time with more > detail. > >... > > Now, I manage to see the output of the javascript written above > through Firefox

Re: storing django object into javascript variable/array

2011-06-15 Thread Ian Clelland
On Wed, Jun 15, 2011 at 7:27 AM, jay K. wrote: > Hello, > > I've posted my question before, but I believe I didn't provide enough > detail. I intend to present my issue again, this time with more > detail. > > Let me tell you that I am not a django developer, so I have very > limited exposure to