title: Pass parameter from one link to another with jQuery
body: <p>I have a site where I am triggering a modal from a set of links. Is there a way to pass a reference of the link itself to the modal?</p>
  
  <p>My current implementation is available here: <a href="http://138.197.123.25/" rel="nofollow noreferrer">http://138.197.123.25/</a> the left sidebar links will simply launch a modal window and ask for location; when they choose a location for that specific item.</p>
  
  <p>The problem is if someone clicks on the side menu for <code>Party Packages</code>, then chooses say <code>San Diego</code> from the modal choice, they are taken to <code>http://138.197.123.25/location/san-diego-rentals/</code>, but what I would like is for them to go directly to the item and location they chose, so in this example, I would like them to go to directly to <code>http://138.197.123.25/location/san-diego-rentals/party-packages/</code>.</p>
  
  <p>I am not sure how to pass a reference of the link that is clicked to launch the modal, so I can add the type of item to the location and build the final URL.</p>