Search code examples
javascriptbacon.js

onValue doesn't fire


$('#ddEvents').asEventStream('change').onValue(function (f) { alert('hello world'); });

ddEvents is a drop down list. When I change it, the onValue function doesn't fire. What am I getting wrong?


Solution

  • Hi you code work i did a test on codepen

    #add 2 cdn jquery bacon
    

    https://codepen.io/anon/pen/gGrNQV