I have a form that contains a date field and a other empty div:
<input type="date" name="b_day" id="b_day" />
<div id="age"></div>
I want after a visitor fills the field the div age
to look something like "10.5 yo
" calculating the difference in years-months from today, without refreshing the page