@mishkinAug 31.2006 — #well you'll need to have your <div> held as a variable first of all. It's a little tricky getting it into a variable if you don't know the ID. If you know (for example) that the <div> is always the third <div> on the page, you can use
MyDiv = document.getElementsByTagName("div").item(2) //will get the third <div> down
@francescoauthorAug 31.2006 — #Thanks...i' know that there is always the div tag with the id before a form..but there isn't a way for "walking back" from the form to the div?
@KorAug 31.2006 — #Somehow I would say your code is not correct from the begining. Javascript functions are to be call on [i]events[/i], or [B]action[/B] is not an [I]event[/I], it is a [I]target[/I]. So that the code shoud be