On Nov 9, 8:55 pm, jaikumar <[email protected]> wrote:
> Hi ,
>
>   I am getting " handler is undefined" error in  prototype.js  Fire
> Bug pointing to this method in prototype.js  handler.call(element,
> event) create wrapper.
>
>    Can any one help me to solve this bug.

Probably not, without more information.
If you asked me to guess, I would guess that you are passing a non-
existent function to 'observe'.
If you asked me to guess further, I would guess that you might be
writing a function call instead of a function,
so:

myelement.observe('click', myFunction);

sets 'myFunction' as the click handler for myelement, but

myelement.observe('click', myFunction());  //!!Almost always wrong!!

calls myFunction and sets the result (which is almost certainly not a
function) as the handler.

But I may be in completely the wrong area, since you haven't told us
anything about what you are doing.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to