I'm using foundation 4.3.1. This is my code:
$(document).foundation('joyride', {
postRideCallback: function () {
alert('test')
}
});
$(document).foundation('joyride','start');
I can't seem to get it to alert('test') It goes through the ride, but then nothing. Not sure what I'm doing wrong here. The docs aren't clear at all on how or where to put the config options, they only provide a list of what they are.
Why won't the postRideCallback trigger?