The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript $(this).closest is not a function? Re: $(this).closest is not a function?

Ian G

WooHoo! Thanks guys, fixed it.

I went back through and enabled the *specific* js library that Lam suggested (1.4.0), not the most current one in the Google api and not the Drupal jquery library and it worked. Then it stopped working. Then it worked again! I’m going to troubleshoot what is going on in more detail as to why the include Drupal jquery library doesn’t work over the next few days, but for now it is working so I’m calling this case closed for now.

Thanks for the help Rob and noah

With this new info I can move on to figuring out the on hover js issue I was looking into earlier. I’ll update my previous post with what I work out for as a solution.