Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to pass URL of current page to form field on linked to page? Reply To: How to pass URL of current page to form field on linked to page?

#177599
Matt
Participant

Soronbe, thanks for your reply to my question. Would you mind pointing me towards some more context in which to use the window.location.href function?

Please excuse my questions, my JS chops are not very strong.

I would imagine that I store window.location.href in a variable, but then how do I pass this variable to the next page? Do I store it in the URL? From there, how do I insert it into the form field?