Calculation issue With JQuery
<p>I know it is very simple.But Still it is not working.I am multiplying a input number with a fixed number,but is not showing the expected result.it always shows the Error message "Please enter some value" even i enter some integer e.g. 6.
This is Html Code.</p>

<pre><code> &lt;input type="text" class="cc"  id="getdata" /&gt;
  &lt;div id="result"&gt; &lt;input type="text" id="show" /&gt;&lt;/div&gt;
   &lt;input type="button" value="calculate" id="calculate" /&gt;
</code></pre>

<p>This is JQuery Code.</p>

<pre><code> $(document).ready(function () {
        $("#calculate").click(function () {
            if ($("#input").val() != ''  &amp;&amp; $("#input").val() != undefined) {
             $("#result").html("total value is::" + parseInt($("#input").val()) * 5);
            }
            else {
                $("#result").html("Please enter some value");
            }
         });
         });
</code></pre>

<p>Any help will be highly appreciated.</p>

<p>Can anyone tell me please how to concatenate all clicked values of different buttons in a textbox?I want to show previous and current clicked value of button in a textbox. 
Thank you.</p>
