Page 1 of 1

javascript/dhtml onlick questions

Posted: Thu Apr 03, 2003 11:34 pm
by nincha
1) once "onClick" a text is shown, lets say in a iframe, how would u get rid of the text without refreashing???

2) "onClick" can swap images, can it swap anything else?? tables? div? text?

well if any one can answer my questions, thanx lots.

Posted: Sat Apr 05, 2003 4:12 am
by Skyzyx
onclick is simply a DOM Level 0 event handler, which means it acts as a tigger of sorts. If someone clicks on a link with an onclick event attached to it (for example), you can trigger any variety of scripts... the possibilities are endless.

Is there something more specific you're looking for?