So I know how to do something like this, but I have multiple elements that my .each(function() is running on, I need to make sure only .modules that contain spans with "Open 24 hours" trigger the change of the div to "ALWAYS OPEN" and I can't figure out what I am doing wrong
if (thisTimeSet === 'Open 24 hours'){
$(this).siblings("div").text("ALWAYS OPEN"); }
Full working demo of the app: http://jsfiddle.net/DxaV7/ I have a ton of comments because I am pretty new to js and I need to walk myself though what I am doing (newb)
Thanks for any help you can provide!