I know the method hasOwnProperty. NetBeans error: package org does not exist, JQuery Check if input is empty and show status of it, Check if input value is empty and display an alert. The last thing didn't work. How to disable JQuery keypress event for just one element? 505). , and use: How can I disable the submit button until text is entered in the input field? To learn more, see our tips on writing great answers. How TO - JS Validation For Empty Fields 1 Step 1) Add HTML:#N#Example#N#