Show HTML form input.

If you want to show output of HTML from input, you can use simple way, just try  this code
<form oninput=”result.value=parseInt(a.value)+parseInt(b.value)”>
<input type=”range” name=”b” value=”50″ /> +
<input type=”number” name=”a” value=”10″ /> =
<output name=”result”></output>

</form>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s