Hi, I've been through the existing messages and they almost answer my
question, but..
I'm using the Wizard generated code as closely as possible, all works
fine, I can pass a variable, but I want to include quotes so that I
can do a phrase search.
An example of Jvar below might be Kentish Flats (I want "Kentish
Flats")
See:
var newsBar;
var Jvar = '<%= ASPvar %>'
var options = {
largeResultSet : false,
title : Jvar,
horizontal : false,
autoExecuteList : {
executeList : [Jvar]
}
The above works fine, but I get a lot of fairly unrelated listings..
But if I use eg: var Jvar = '<%= "'" & ASPvar & "'" %>' (ie double,
single, double quotes) I get a js error
or:
var Jvar = '<%= """ & ASPvar & """%>'
executeList : ["""+Jvar+"""]
The Quote is included as part of the search so I get a list of results
with a " in them
Thanks
Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" 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-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---