Closed tjstalcup closed 10 years ago
I'd like to be able to provide a specific parameter to the URL, can I change the URL on the fly?
you can either do:
collection.fetch({ url:"https://newurl.com/something" });
or use the urlparams:
collection.fetch({ urlparams: { hello:"you" //will result in yoururl.com/list?hello=you } });
I'd like to be able to provide a specific parameter to the URL, can I change the URL on the fly?