[jQuery] setTimeout with variables (in a jQuery statement)
Hi,
I'm trying to use a jQuery statement inside a setTimeout function, but
I don't get it to work. I tried a lot of variants, like this one (I'm
using 'this' because the setTimeout is inside an each function, and
the selector is cached/stored in an object, thus the $selector):
setTimeout("" + this.$selector + ".val('" + this.savVal + "')", 1);
How do I have to write this?
Thanks!