Changing Iframe Src - Demonstration

This page demonstrates Loading New Documents into Iframes. The following links use various techniques to change the src of the iframe below. The documents displayed there will provide information about the techniques used and related information.

  • Load Links page using target attribute (no JavaScript).
  • Load JavaScript page using getElementById and src property.
  • Load External page using iframe window location property.
  • Load Intro page using replace method.

Back to information on changing iframe src.