$(document).ready(function(){ $('#shares1').keyup(function(){ $('#result1').text($('#shares1').val() * 6000); }); });
<input name="shares1" id="shares1" type="text" autofocus /> <span id="result1"></span>
<input name="shares1" id="shares1" type="number" autofocus />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)