This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript and Iframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript and Iframe" Watch "javascript and Iframe" New topic

javascript and Iframe

Eduardo Plata

Joined: Nov 19, 2004
Posts: 17
i have an iframe called cc, and with a combo box outside the iframe, i want to jump to a marker # within the iframe document.

I am trying something like:

The marker is called 2 and the document.xml is displayed by the browser with a xsl.

Using an <a href, the code works fine, but on my combo using onclick and calling a page that is displaying in the current frame is not working, but if i change the page like "document2.xml#4" it works fine..

I agree. Here's the link:
subject: javascript and Iframe
It's not a secret anymore!