Is it possible to combine two JavaScritpt functions?
I want to "automatically" add a function to all input fields. But origianl function sould also be called.
Example: I have a following field:
<input onchange="alert('hi ')">
Then I want to add a call to
function sayHello(){
alert('hello')
}
The call to function sayHello() will be added from body onload function.
I want both "hi" and "hello" to be displayed.
I want to "automatically" add a function to all input fields. But origianl function sould also be called.
Example: I have a following field:
<input onchange="alert('hi ')">
Then I want to add a call to
function sayHello(){
alert('hello')
}
The call to function sayHello() will be added from body onload function.
I want both "hi" and "hello" to be displayed.