title: Using JavaScript to add/append a query string to URL
body: <p>I use the DNN CMS platform and am utilizing a module called ActionForm to create forms from a company called DNNSharp.</p>
  
  <p>There is an option in this module to display a form in a popup however I cannot pass a query string to the popup URL using this method.</p>
  
  <p>The HTML looks like this</p>
  
  <pre><code>&lt;a href="javascript: showFormPopup1163();"&gt;Link Title&lt;/a&gt;
  </code></pre>
  
  <p>Now when I add ?mystring=[mytoken] to the end of the href attribute it stops the link from working.</p>
  
  <p>From what I've read I think it is possible to add that query string to the popup URL using JavaScript.</p>
  
  <p>I've read the following topic but don't know if that is the proper solution for my situation or how I would implement it?</p>
  
  <p><a href="https://stackoverflow.com/questions/25290299/add-query-string-parameter-to-static-link-on-click">Add Query-String parameter to static link on click</a></p>
  
  <p>Would I just add that code into a  tags into my html code?</p>
  
  <p>I really appreciate any insight anyone could pass my way.
  Many Thanks,
  Alex</p>