Hello experts, in the code sample below I've set a default folderID of 1. My "folderID click function" is successfull passing the selected folderID to "inboxresults.cfm".
However, my "next" and "previous" click functions always pass the default folderID value of 1 (and never a newly selected value).
Can you please help me understand how to update the default value (I thought I was by setting "var folderID = $(this).attr('data-id'); " in my ".folderID" click function.
var folderID = $(this).attr('data-id');