$("[onclick^='fred']") vs $("[onClick^='fred']")
Amazing library but one thing i've found and this might be me being
niggly is the inconsistency in the selector engine.
If i have the following selector:
$("[onclick^='fred']") - will return an error z.indexOf is not a
however the camel case variant works. ($("[onClick^='fred']"))
This rings true with nearly all 'on' handlers.
I did a little debugging myself and it turns out that if the return
value is of type 'function' then that's when the error occurs. my
suggestion is that if the return value is function then it should be
cast back to a string so that the string based methods can do their
Would this be correct?