Call multiple functions from one event with unobtrusive javascript
I have an input element
<select id="test"></select> when changing I want to call several functions
$('#test').change(function1, function2); now only alerts apply.
var function1 = function(){alert('a');}; var function2 = function(){alert('b');}; Only the second function is called. I know this because of warnings and brake points. I know that one way to fix this would be to call function1 and function2 from another function, but I would like to avoid it.
+4