This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

javascript - function for aotumaticallly selection of links  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

In javascript can we write one function which will select all links prsent on the page automatically after 15 seconds.

I have a HTML page which is having lots of links, if we select one link it will show a image assocated with that link.

Instead of selecting all links manually can we make it automatic by Javascript.

thanks
priyanshu
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

Welcome to JavaRanch!

This forum, which doesn't require you to log in, is for discussing JavaRanch itself -- for example, "Help, I forgot my password and can't log in!" Technical questions belong in the other forums, which do require you to register, using a valid display name with a first name and a last name separated by a space.

I'm going to close this thread; please register, then post your question in our "HTML and Javascript" forum.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!