What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-11 01:22:09
change color of input if submit clicked and input is empty
HTML : Text <input type="text"> <button>Click Me</button> -------------------------- JQuery : $("button").on("click",function(){ if($("[type='text']").val() == null){ $(this).css("... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5