This is the url after I submit the form
from=Paris%2C+France&to=Rome%2C+Italy
In the new page, I want the from value to be placed into the
<input id="from" class="form-control" type="text" name="from" placeholder="From?">
and the to value to be placed in here
<input id="to" class="form-control" type="text" name="to" placeholder="To?">
using Javascript or jQuery. I prefer javascript.
How to do this? Thank you.