Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

JavaScript Tutorial: Dynamically Change Page Elements

Loading...

Sign in or sign up now!
6,175
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 23, 2009

Learn how to change page elements using JavaScript and HTML DOM.

Download the green page example here: http://www.mediafire.com/download.php?o3mjtwv1zyz

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (TheJavaScriptGuy)

  • lol how complex. Ask google for firstChild.nodeValue with that it is much more easier

  • You didn't watch all of the video, did you? I use innerHTML after demonstrating the method of changing the display.

    innerHTML is basically the same thing as firstChild.nodeValue and is much simpler to wrap your head around because you don't have to mess around with nodes.

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • thanks, very very helpful. i combined it with some php and now i have a interactive dropdown menu which shows more options depending on the dropdown selection!

  • Thanks, the video is really helpful!

    I managed to use the innerHTML to change embedded youtube videos. Seriously easy.

    This was a real life saver.

  • Great video, you teach better than my web teacher.

  • This is the most useful tut on Javascript I have come across.

    Totally explained everything I've been wondering about!

    thanks!

  • Very cool, thank you for the tips

  • Great video... helped a ton. I like how you showed multiple options to accomplish the same thing (more or less). Make some more!!

  • Great video

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more