The following is an example of using the HTML5 output tag with a form's oninput event to do
some calculations on the data within the form. It uses html5Widgets to fix IE9's slightly misbehaved implementation of oninput. Back to the User Agent Man oninput article.