Please consider donating: a local project in memory of my daughter

Archive for July, 2010

Throttling function calls

If you've written any kind of validation on user input, like onkeypress then you'll know that sometimes you want to throttle the amount of times your function runs. A good example of this is Ajax based username validation - you don't want to hit the server on every key press, because most users will be [...]