Randy Webb wrote:
Dr Clue said the following on 9/5/2005 3:19 PM:
Well , you could have your script assign the onclick event
dynamicly such as in this faux a:hover demo
http://66.33.202.15/projects/jsDHTML...ver/Hover.html
<snip> That advice is almost, but not quite, as bad as the original way of
doing it. All of that extra work and coding can be done away with,
completely, and without even using some "library". You use a submit
button and your problem is gone.
Actually the jsDHTMLlib.js is not used for the event capturing aspect,
so the 25 lines of relevant code is no big deal, and they can simply
cut-n-paste, and point it to their desired function.
As to the choice of using a button or a link, I do agree with you
that the button would be a cleaner approach.
I don't tend to argue with the questions that much, but rather just
answer them, allowing the "discussion " aspect of the ng to play out.
I'm pretty sure the button approach has been championed
by at least yourself, so I'm just answering the question and
allowing the OP to dine on everyones thoughts, including yours.
As to the trolling aspect of your response. ( not interested ), but
thanks for offering.
--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript, TCP ...
--`