Q:

jQuery alert on change text field value

Html:
<input type="text" name="amount" value="" class="form-control" id="amount">

Jquery:
$(document).ready(function() {*emphasized text*
  $("#amount").change(function() {
     alert( $("#amount").val );

  });

It is not alert any value of the given amount field value. It shows me something else like : 
function (a){var b,c,d,e=this[0];if(arguments.length)return d=n.isFunction(a)....:null==c?"":c)}}

A:

You have to use .val() which calls the function instead of .val which is the function.
alert( $("#amount").val() );

