Forums

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

Home Forums JavaScript Callback function not working Reply To: Callback function not working

#189187
__
Participant
  1. fireit() is calling your function, not passing it (you’re passing the result, in this case, undefined). Leave out the parens.
  2. there is no var callback in your code. you need to use the name you pass into the function (in this case, fireit).

If you need anything more specific, please explain more and show us a codepen : )