How do i create a phone number form box in javascript using no inner html . there must be at least one dash in it.
this is my div for the phone number
<body>
<div id="wrapper" class="grid_12">
<div id="header" class="grid_8"> Take a Survey </div>
<div class="clear"></div>
<form method="post" name="myform">
<fieldset class="grid_4">
<legend>User Information</legend>
<div id="fname">
<label for="fname_id">First Name:</label><br/>
<input id="fname_id" type="text" name="fname_name" value="" />
<span />
</div>
<div id="lname">
<label for="lname_id">Last Name:</label><br/>
<input id="lname_id" type="text" name="lname_name" value="" />
<span />
</div>
<div id="phone">
<label for="phone_id">Phone Number:</label><br/>
<input id="phone_id" type="text" name="phone_name" value="" />
<span />
</div>