This is probably quite a simple answer however I’m very new to jQuery/JavaScript so please bear with me.
At the moment I have a drop down with 4 options and then a <button> next to it that changes a chart based on what the user has selected. Basically all I’m trying to achieve is to remove the need of a button and just refresh the chart when the user clicks on one of the options.
The following is the jsfiddle that I have based it on.
http://jsfiddle.net/jlbriggs/EmMxH/92/
Any help would be great, thanks
Henry
You want the “change” event on the select list, not the click event. (based on your fiddle code)