On 1/22/07, Lorenzo Bolognini <[EMAIL PROTECTED]> wrote:
> On 1/22/07, Matt Stith <[EMAIL PROTECTED]> wrote:
> > getJSON eval's the results automatically, so theres no need to eval it
> > yourself.
>
> Hi Matt,
>
> thanks for the advice, i've streamlined the script a bit but still
> doesn't work... dunno why but i can't write to the document in the
> #results div

Found a mistake in the for cycle but still doesnt work.

Fixed for cycle:

                        for(i=0;i<10;i++)
                        {
                                var results = $('#results').val() +
$('#results').text(json[i].fields['city'] + "<br />");
                                $('#results').text(results);
                        }


Lorenzo

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to