Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using variables in AJAX

Hi all,

Please how do I get the following variable to work in AJAX?

https://test.server.com/QvAJAXZfc/opendoc.htm?document=Application%20Namee.qvw&sheet=SH34&host=QVS%3... select=LB100,[$(vCustomer)]


The customer field has spaces i.e

        Customer

        Adam  John

        Mike David


Regards

2 Replies
petter
Partner - Champion III
Partner - Champion III

The spaces should ideally be replace by %20 like you see in the first part of the URL:

So the [$(vCustomer)] should be replace by:

$(=Replace(vCustomer,' ','%20'))

And don't use the square brackets.

Not applicable
Author

I am afraid, this is not working for me.