Forums

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

Home Forums JavaScript Can't work out why jquery plugin methods are undefined? Reply To: Can't work out why jquery plugin methods are undefined?

#158107
CrocoDillon
Participant

The problem is this line in your html:

tpj.noConflict(); // line: 267 (tpj points to jQuery)

Which causes jQuery to restore $ to its previous value (which is undefined). You can either remove that line or, if that causes other bugs (I don’t see why it would in your case), change the $‘s to jQuery‘s in the cookie close script (line 567 – 571 in your html).