title: How to monitor when the body 'data' attribute changes in jQuery?
body: <p>I have data-segment attribute in my body tag that is changed by a slider. I need to trigger a function based on the value of this, when it is changed.</p>
  
  <p>I'm not sure how to attach an event listener in this case though?</p>