[Javascript] Programmatically set onchange event for textbox

Matt Warden mwarden at gmail.com
Wed Oct 4 09:58:51 CDT 2006


On 10/4/06, Glenn E. Lanier, II <glenn_lanier at netzero.net> wrote:
> Now, just as a thought for future use, is is possible to pass parameters to
> this function? Is so, how would that be done?

foo.onchange = function() {
     selectCardType('bar');
};

-- 
Matt Warden
Cleveland, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.



More information about the Javascript mailing list