Assignment 025b

getElementById

Ever wonder how Web pages update information without a page refresh? Didn't think so, but this is how it's done. You can update a div or a span (actually anything) by using getElementByID() and updating the innerHTML of an element.


This is the targetSpan tag text!