Add and Display percentage of an amount
<p>I have a javascript which calculates the percentage of amount entered, But I am confused how to add amount+percentage and then display.</p>

<pre><code>        $(document).ready(function(){
    $('#shares').keyup(function(){
        $('#result').text($('#shares').val() *(10/100));
    });    
});
</code></pre>

<p>and Here is HTML Code for this</p>

<pre><code>        &lt;label&gt;Amount:&lt;/label&gt;&lt;input name="shares" id="shares" type="text" /&gt;
        Total Value: &lt;span id="result"&gt;&lt;/span&gt;
</code></pre>
