I have an input mask on my text box like
000,000,000.00
I have the following jQuery code to check the value of text box before submitting data.
var txt_box = $('#txt_box').attr('value');
if(txt_box <= 0 )
But now even if I didn't input any data, the box remains empty with only the input mask, data is submitting.