Jump to content

Mijii

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by Mijii

  1. Not sure if you have found the answer already but based on your above something like this will work <div class="headerrefresh"><script>var pathname = 'bob';</script><script>document.write('<a href="'+pathname+'">Refresh</a>')</script></div> basically you need to declare the var before using it then you can use it however you want later in the page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.