By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,714 Members | 1,205 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,714 IT Pros & Developers. It's quick & easy.

Capture current URL to string

P: n/a
How do I capture the current URL to a string? What I want to do is
press a "submit" button that takes me to whatever URL is present in the
address bar of the browser.

Thanks,
Brian

Jun 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Techhead wrote:
How do I capture the current URL to a string? What I want to do is
press a "submit" button that takes me to whatever URL is present in the
address bar of the browser.

Thanks,
Brian


<input type="button" value="Refresh"
onclick="document.location=document.location">

I don't understand either...

Jun 22 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.