You can write a JavaScript code


You can write a JavaScript code that can rewrite the contents of a frame in response to the user’s actions.
You can’t modify a frame’s contents, but you can rewrite the frame contents from scratch.