js automatic value assigning
<p>I want some type of javascript to do like below</p>

<p>I have a text box to enter phone number</p>

<p>And its like this 111-111-1111</p>

<p>when a user start to type means when he types 111 then the "-" must come there automatically.</p>

<p>then again he types 111 "-" it should come automatically.</p>

<p>how can i do this???</p>

<p>please help</p>

<p>Thanks</p>
