Run function in input if it is empty? : <p>Is there anyway I can check if an input is empty using javascript and then run a function? I'd like it to be in the input itself if possible. </p>

<p>There is <code>onChange</code> so is there an <code>ifEmpty</code> lol?</p>
