Changing onchange event of <select> in JS

by "Rajnish Bhaskar" <r.bhaskar(at)educ.gla.ac.uk>

 Date:  Fri, 14 May 2004 13:04:50 +0100
 To:  hwg-languages(at)hwg.org
  todo: View Thread, Original
Hi folks,
Is it possible to set the onChange event of a <select> box in 
Javascript?

I'm creating select boxes on the fly in a table cell through 
Javascript, but I need each newly generated box to have a slightly 
different onChange handler and I don't know how to go about doing it.

Cheers,
Raj.
-- 
Rajnish Bhaskar, Technical officer
r.bhaskar(at)educ.gla.ac.uk, http://www.iteu.gla.ac.uk/
IT Education Unit, University of Glasgow
--
Happiness, Happiness,
The greatest gift that I possess,
I thank the Lord that I've been blessed,
With more than my share of happiness.

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.