Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q674 Is there any way to call multiple functions with a single event?

You are here: irt.org | FAQ | JavaScript | Function | Q674 [ previous next ]

First the JavaScript functions:

<SCRIPT LANGUAGE="JavaScript"><!--
functionname1() {
    ....
}

functionname2() {
    ....
}

functionname() {
    functionname1();
    functionname2();
}
//--></SCRIPT>

Then either:

... onClick="functionname1();functionname2()"...

or:

... onClick="functionname()"...

Feedback on 'Q674 Is there any way to call multiple functions with a single event?'

©2018 Martin Webb