Home › Forums › JavaScript › Javascript working in jFiddle but not project! :( › Reply To: Javascript working in jFiddle but not project! :(
November 15, 2016 at 5:04 pm
#247903
Participant
You sure it’s not because I left out the .live
listener then? Best to change bubblebath
to slow
, it was just to demonstrate that any random (invalid) word would have the same effect – defaulting to toggle('slow')
. Even toggle('')
should actually work. You could also put in any number to define the duration. Currently it’s 600ms ('slow'
).
Edit – I wrote that live
was deprecated but it’s actually been removed since jQuery 1.9. So it’ll break any newer version…