|
syntax passing event params ?: msg#00009mozilla.devel.dom
When specifying an event such as element.addEventListener("load", foo, true); where foo is a function function foo() { window.frames[0].method() // call method in first doc succeeds } However if I pass an argument element.addEventListener("load", foo(arg), true); where foo is defined as foo = function(param) { window.frames[0].method() // call method in first doc fails } Is the syntax correct - should it work? |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: createNSResolver security??: 00009, rvj |
|---|---|
| Next by Date: | Re: syntax passing event params ?: 00009, Jiri Znamenacek |
| Previous by Thread: | Re: createNSResolver security??i: 00009, rvj |
| Next by Thread: | Re: syntax passing event params ?: 00009, Jiri Znamenacek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |