title: jQuery code doesnt work when i remove alert from my code?
body: <p>I am loading a data using jQuery load method. It works fine. Now I want to multiple it with 2. eg If i have 1000 I want to multiple it with 2 so that it will become 2000. It works fine only when I include alert in my code. If i remove alert, it returns 1000.</p>
  
  <p>here is my code</p>
  
  <pre><code>$('#&lt;%= qnty.ClientID %&gt;').click(function () {
  
  
              var desID = $('#&lt;%= designID.ClientID %&gt;').val();
              var qnty = $('#&lt;%= qnty.ClientID %&gt;').val();
  
              $("#amountHave").load("AmountRetrieve.aspx?desID=" + desID + "&amp;qnty=" + qnty + " #amountHaveRet");
                  if ($("#reverseDes").is(":checked") || $("#plain").is(":checked")) {
                      var slash = ".00/-";
                      var getAmnt = $("#amountHave").text();
                      getAmnt = getAmnt.replace(slash, '');
  
                      var finamAmount = parseInt(getAmnt, 10) + parseInt(getAmnt, 10);                    
                      //IF I USE ALERT HERE IT WORKS
                      //alert(finamAmount)
                      $("#amountHave").text(finamAmount + slash);
  
                  }                   
                  else {
                      $("#blackholder").text("-------- Rs. " + $("#&lt;%= qnty.ClientID %&gt;").val());
                      $("#matchholder").text("-------- Rs. " + $("#&lt;%= qnty.ClientID %&gt;").val());
  
                  }
  
  
          });
  </code></pre>
  
  <p>Any help would be highly appreciated.</p>