Expert Developer JavaScript Question:
How can a particular frame be targeted, from a hyperlink, in JavaScript?
Answer:
This can be done by including the name of the required frame in the hyperlink using the 'target' attribute.
<a href="newpage.htm" target="newframe">>New Page</a>
<a href="newpage.htm" target="newframe">>New Page</a>
Previous Question | Next Question |
Why would you include 'use strict' at the beginning of a JavaScript source file? | What is Screen object? |