jQuery Set Cursor In Home Key
<p>I want after type two number in filed append <code>/</code> and set cursor in home. </p>

<p>My mean of the home is, <code>Home</code> key on the keyboard :
<img src="http://www.barcodeman.com/altek/mule/kbemulator/keypics/key.home.up.png" alt="enter image description here"></p>

<p>I try as: (In my code instead run Home key this adding <code>$</code>)</p>

<pre><code>&lt;input type="text" class="num" maxlength="2"/&gt;
​
$(".num").keypress(function(e){
    var val = this.value;
    var value =  val + String.fromCharCode('36');
    (val.length == '2') ? $(this).val(value+'/') : '';
});​
</code></pre>

<p><strong>DEMO:</strong> <a href="http://jsfiddle.net/3ePxg/" rel="nofollow">http://jsfiddle.net/3ePxg/</a></p>

<p>How can done it?</p>
