Quote:
Originally Posted by rnd me
as far as javascript is concerned, category%3DselectedSearch is just a string primitive in the code.
you will need to know what param_ssKey and param_wsId are.
you can type those into firebug from the original page, and it will tell you the actual value of those variables.
|
Thanks. I don't think I explained it well. For example.. if I change the query to include category%3DRestaurants, it works fine. It returns all the records with the value 'Restaurants' in the category column. So there is no issue with the param variables.
What I would like to be able to do is use a variable(selectedSearch) in the place of 'Restaurants'.
The variable would contain a string literal that I retrieve from a form.
I.E. the user selects 'Restaurants' from a dropdown box. This value gets assigned to the variable selectedSearch and this in turn gets added to the sq expression.
thanks