Use $("#email").val("");
, which sets the value of the input to an empty string.
solved clearing an input with javascript [closed]
Use $("#email").val("");
, which sets the value of the input to an empty string.
solved clearing an input with javascript [closed]