Google Groups Home
Help | Sign in
data.responseData.results > 0 on AJAX Libraries API home page
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Prashant Bhate  
View profile
 More options Jul 4, 6:02 am
From: Prashant Bhate <prashant.bh...@gmail.com>
Date: Fri, 4 Jul 2008 03:02:49 -0700 (PDT)
Local: Fri, Jul 4 2008 6:02 am
Subject: data.responseData.results > 0 on AJAX Libraries API home page
Hi
Code sinppet on home page http://code.google.com/apis/ajaxlibs/,
has this line
if (data.responseData.results && data.responseData.results > 0)

Was able to understand the first part of it but not the next ?!!

Array Object Object being compared with a zero ?!!

shouldnt it have been like

if (   data.responseData.results
 && data.responseData.results.length
 && data.responseData.results.length > 0)

though not very sure !!!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jgeerdes [AJAX APIs Guru]  
View profile
 More options Jul 4, 5:12 pm
From: "jgeerdes [AJAX APIs \"Guru\"]" <jgeer...@mchsi.com>
Date: Fri, 4 Jul 2008 14:12:50 -0700 (PDT)
Local: Fri, Jul 4 2008 5:12 pm
Subject: Re: data.responseData.results > 0 on AJAX Libraries API home page
I would say you are correct.  Perhaps Mr. Lisbakken or one of the
other dev team members could change this when they're back from their
long weekend.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgeer...@mchsi.com

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Prashant Bhate  
View profile
 More options Jul 5, 12:15 pm
From: Prashant Bhate <prashant.bh...@gmail.com>
Date: Sat, 5 Jul 2008 09:15:08 -0700 (PDT)
Local: Sat, Jul 5 2008 12:15 pm
Subject: Re: data.responseData.results > 0 on AJAX Libraries API home page
Thanks :))

On Jul 4, 10:12 pm, "jgeerdes [AJAX APIs \"Guru\"]"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google