Jump to content

Auto Click A Link In An Iframe..?


cyfer65

Recommended Posts

Is it possible at all to auto click a link thats in an Iframe..??So say i make a page that iframes another page and on that page in the iframe is a link that i want to auto click with some JavaScript code..is there anyway to do such a thing..?? with onmouse over or just autoclick the link once the pages have finished loading..??

Link to comment
Share on other sites

Buttons have a click() method, but I do not think that links do.If the real goal is to load a new page into the iFrame, you can change the src property of the iFrame. If this procedure depends on user input, like hovering over a link, then you can handle the link's mouseover event and grab the href property of the link.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...