Calling a function in jquery?
<pre><code>// Explicit global
$.fn.getRedemptionID = function(){
window.varMy = data.DATA[0].item1;
}
</code></pre>

<p>How do you call the above function to get the variable varMy ?</p>
