<!-- Example #2 - Compound Inline onFocus listener --> <script type="text/javascript"> function myFunc1(el) { alert("Function 1: " + el); } function myFunc2(el) { alert("Function 2: " + el); } </script> <input type="text" name="onFocusTest" onfocus="myFunc1(this); myFunc2(this);" />