I am expecting it to be the link clicked. The function tests to see
what the class name of the link is. I actually have all of this
working with behaviour.js (not sure if you are familiar). I was just
trying to remove the dependency for that script and do it all with
event listeners instead.



On Apr 17, 10:43 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 12:04 AM, anathema <[EMAIL PROTECTED]> wrote:
>
> >  Thanks for the added reply Justin, although I am just confused now.
>
> Sorry about that.
>
> >  $(this).hasClassName is not a function
>
> Unless you're talking about instances of objects, which you clearly
> are not talking about, 'this' is nothing you need to dabble with, nor
> is it used like you are trying to do in this case.
>
> When you say $(this), what are you expecting that object to be? Why
> are you even using it?
>
> -justin
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to