I'm looking for code to do the following simple task:
- A button on a webpage is clicked.
- Once clicked, the text in the URL address bar is highlighted.
Pressing Alt-D can do this, but I'm looking for the button version.
I've looked all over, and I can't find it. Please help :confused:
Help! Simple push-button task, but very hard to find code!
Started by MyHub, May 22 2010 08:16 PM
2 replies to this topic
#1
Posted 22 May 2010 - 08:16 PM
|
|
|
#2
Posted 22 May 2010 - 11:53 PM
That's because you are looking for Java codes, but actually mean JavaScript...
#3
Posted 23 May 2010 - 01:36 AM
I think it's nearly impossible. Javascript has no access to the address bar. And Javascript has no SendKey() method (to emulate ALT+D) due to security reasons.


Sign In
Create Account

Back to top









