> > uh, what? how do I assign 'onclick' on page load? > > > > thanks hugely > > > > hi joel, > > here is a sample chapter from an great book (imho) about dom scripting. it > explains exactly what you are looking for. hope it helps. > http://domscripting.com/book/sample/ Or you read my free self training course: http://www.onlinetools.org/articles/unobtrusivejavascript/chapter2.html -- Chris Heilmann Book: http://www.beginningjavascript.com Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/