Getting a value from a .text function
<p>I have functions in which values are constantly being calculated I am trying to store the value of these functions when the button is pressed however when I try the code below it doesn't work. How then can I capture this in a variable when a button is paused?</p>

<p><code>songposition = $("#songCurrentpos").text(pad(Math.floor(current / 60), 2) + ":" + pad(Math.floor(current % 60), 2));</code></p>

<p><code>songlength = $("#songDuration").text(pad(Math.floor(duration / 60), 2) + ":" + pad(Math.floor(duration % 60), 2));</code></p>
