posted 9 years ago
ok, yeah that's what I was thinking to begin with. I just wanted to check the load time so that I can have an alert pop up.
So i decided to go maybe this route
So what I'm trying to do is, if the input filed is empty return false.
If the input value is true than check the loadtime, if the load time is longer than x amount stop the form from submitting.
I'm not sure if my logic is even correct.
What I initially intended with the load time is if longer then x amount display error but don't run the code.
Original code
GenSearch = Submit Button name
q = input filed name
Hope this makes some since