I would like to assign an integer to a add() through a variable. So I initially wrote this.
Expand|Select|Wrap|Line Numbers
- var i=0;
- name.onblur = function {add(i)};
- i++;
In other words, how do I make sure I put a permanent value into a function through a variable?
I hope I'm clear enough.
Thank you.
Reply With Quote