Skip to content
Advertisement

limit a form submission – once in two minutes

I want to limit a form submission – once in two minutes
time of last attempt is in a session variable
something like this:

JavaScript

pls help to write this code properly

Advertisement

Answer

Try something like this… Check the DateInterval class for more details.

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement