Expert Developer JavaScript Question: Download Questions PDF
How can a particular frame be targeted, from a hyperlink, in JavaScript?
![Expert JavaScript Developer Interview Answer Expert JavaScript Developer Interview Question](https://globalguideline.com/public/images/interview/22.png)
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>
Download Expert JavaScript Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Why would you include 'use strict' at the beginning of a JavaScript source file? | What is Screen object? |