Get text before delimiter
<p>I have this checkbox value: <code>10/07-08/24_NOV</code>, and I have this code:</p>

<pre><code>$(window).load(function() {
    $('input:checkbox').change(function() { 
    var tot = 100;
    $('input:checkbox:checked').each(function() {
        tot -= parseInt($(this).val());
    });
    $('#outputDiv').html(tot)
});
});
</code></pre>

<p>I need jQuery to give me only the first value before the first delimiter, number 10.
Thanks!</p>
