Hi,
I am trying to pull data from a spreadsheet that is filtered by
category.

If I put in this line of code, I get the data relating to the category
Accountants.

var url = 'http://spreadsheets.google.com/feeds/list'
                         + '/' + param_ssKey + '/' + param_wsId + '/
public/values' +
                        '?sq=category%3DAccountants&alt=json-in-
script&callback=cm_loadMapJSON';

My problem is I want to use a variable in the Place of Accountants
above.

If I change the structured query to sq=category%3DmyVariable, of
course the variable is being treated as a Literal and not a
variable.

Is there a syntax that I should use to mark it as a variable? I
suppose I should enclose myVariable with some special character?

many thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to