How to check if try send again same e-mail as after submit?

Like if you write test@gmail.com and you want again send this value after submit?

Thanks!

Can you give a bit more information about what you are trying to do?

A user enters an email address into a field and clicks a button to submit and then what?

What you write but still get the val(); for that input e-mail and that case if want click again on submit so another time with same e-mail adress then do an alert('not spam'); Something like this is possible?

Thanks!

If in the same session, you could just store the email address submitted in a variable (i.e lastEmailSubmitted) and check if the currently submitted email address is equal to the lastEmailSubmitted variable’s value. If it is equal, then send the alert.