How do I make a link or form in one frame update another frame?



How do I make a link or form in one frame update another frame?..

Answer / Jaspreet Kaur

To communicate between frames, you'll need to use JavaScript. One common method is by setting up a communication channel using the `parent`, `self`, and `top` properties of the window object. Here's an example:

```html
// In one frame (the parent)
window.onload = function() {
top.otherFrame.location = 'http://example.com';
};

// In another frame (otherFrame)
window.name = 'otherFrame';
```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

How can I include comments in html?

1 Answers  


What is w3c recommendation?

1 Answers  


What is the difference between html4 and html5?

1 Answers  


What does :: before mean in html?

1 Answers  


How many html5 tags are there?

1 Answers  


How can we embed Video in HTML 5?

1 Answers  


What is text tag in html?

1 Answers  


What is a description tag?

1 Answers  


Why are not my frames the exact size I specified?

1 Answers  


What is a html link?

1 Answers  


What are title tags?

1 Answers  


Why to use xhtml.

1 Answers  


Categories