How to force function execution after input with javascript
<p>I am making a small calculator (just for javascript learning) 
and I have two input fields for fraction calculation
1.Field: numerator
2.Field: denominator</p>

<p>And a button "Calculate fraction"</p>

<p>which executes the function myFraction(numerator,denominator) when user clicks on it.</p>

<p>Is it possible do do the same without the Button?
I mean javascript should recognize that someone is making input and then calculate the fraction automatically.</p>
