Hi Everyone,

Is there a way to send parameters to the function being added to an event with addEventListener.

I.E.

say you have this function
Code:
function someFcn(i){
 alert(i);
}
and I add it to an object.
Code:
someElement.addEventListener('focus', someFcn, false);
Is there a way to send a parameter to someFcn.
For Example I have tried this but it failed
Code:
var someString = 'Hello World';
someElement.addEventListener('focus', someFcn(someString), false);
Thanks for any help,

Nick