title: Multiplying in Javascript
body: <p>I need to multiply priceMonthly by 30, How can I do that in this "if" function? I am using it to echo the entered number live , but I need that number to multiply by 30. Dose someone have over ideas, or can someone guide me why its not working ?</p>
  
  <pre><code>function keyup_fill(ele, ele_place) {
      $(ele).on("keyup", function(event) {
  
          if ( $(ele).attr("name") === "priceMonthly" ) {
              if (!$.isNumeric($(ele).val())) {
                  return ($(ele).val()*30); //not working
              }
          }
  
        var newText = event.target.value ;
          $(ele_place).html(newText); 
      });
  }
  
  
  keyup_fill("#priceMonthly", "#priceMonthly-place");
  </code></pre>