Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#button').click(function(){
- if($.trim($("#inputID").val()).length == 0) {
- alert("Has No Value");
- }
- else{
- alert("Has Value");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement