jquery comparison

jquery comparison

check this fiddle  http://jsfiddle.net/gzkc0u5v/1/ 

i fix the value of qty like 50 but i want that if some one write 60 in qty field then it will give me alert can t write greater value and return me 50 in qty field.can any one help me out