I am having a problem with Lowpro.js Event.addBehavior not passing
the element on to my function on IE. It works fine on Firefox and
Safari...
Event.addBehavior({
"#nav a:click" : function(event) { test(this); }
});
var test = function(foo){
alert(foo.id);
}
On IE I get "undefined"
Any ideas why?
______________________________________________________________________
Alex Duffield ❖ Principal ❖ InControl Solutions . http://
www.incontrolsolutions.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---