How do I add a query parameter to a URL?
问题 What's the best practice for adding a query parameter to a URL in Tritium (Moovweb SDK)? Looking for something that works where you don't know if the URL has a "?" and other query parameters already. 回答1: Here's a short snippet of Tritium that should help you out in your Moovweb project. Just replace the "query_param=true" bit with the query parameter you want to add. It selects the href of every a tag, then looks for any existing query parameters (by looking for a "?" in the href). If there