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>

Download Expert JavaScript Developer PDF Read All 150 Expert JavaScript Developer Questions
Previous QuestionNext Question
Why would you include 'use strict' at the beginning of a JavaScript source file?What is Screen object?