Menu
Hi All
I have the following
[code]
e.onload = callback ;
e.src = url ;
….
Now I would like to pass a couple of arguments with the callback function
[code]
e.onload = callback(op1, opt2) ;
doesn’t work, now its just a function call!
I think it should look something like
[code]
e.onload = new function(){ callback(opt1, opt2) } ;
which also executes the callback immediately.
Any suggestions how to do this ?
thnx a lot
LuCa