javascript/dhtml onlick questions

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
nincha
Forum Contributor
Posts: 191
Joined: Fri Mar 28, 2003 12:30 pm
Location: CA, USA

javascript/dhtml onlick questions

Post 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.
Skyzyx
Forum Commoner
Posts: 42
Joined: Fri Feb 14, 2003 1:53 am
Location: San Jose, CA

Post 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?
Post Reply