What does 'They're at four. Remember to wait for "DOMContentLoaded", otherwise you will just be accessing "myFrame" before it exists in the DOM. However, the following script may proved useful (I wrote this about a year or so ago). That may have had something to do with why I couldn't get any of the other solutions to refresh my particular frame. We can not handle HTTP POST data from JavaScript, but we can still access the data while it is in the HTML form. and you are good to go with all browsers. How to insert HTML content into an iFrame using jQuery? But the latter doesn't scroll to the top, so it depends on your priorities. To change the iframe src attribute, we will be using a select drop down menu, and a button element to activate the function that will change the src attribute. What is the purpose of the var keyword and when should I use it (or omit it)? "Access is denied" JavaScript error when trying to access the document object of a programmatically-created