title: Convert HH:MM:SS string to seconds only in javascript
body: <p>I am having similar requirement as this: <a href="https://stackoverflow.com/questions/4834202/convert-hhmmss-to-seconds-only">Convert time in HH:MM:SS format to seconds only?</a></p>
  
  <p>but in javascript. I have seen many examples of converting seconds into different formats but not HH:MM:SS into seconds. Any help would be appreciated. </p>