Accept only positive number using Jquery
Có thể sử dụng Event Handling hoặc Event Helper. Tất nhiên là sử dụng Event Helper thì ngắn hơn rồi :)
//when key is pressed in the textbox
$("#quantity").keypress(function (e)
{
//if the letter is not digit then display error and don't type anythi...
blog.donamkhanh.com1 min read