예제 #1
0
				<tr>
					<th class="pd_left">전화번호</th>
					<td>
						<input type="text" name="phone" value="<?php 
echo $phone;
?>
" style="width:170px;" hname="전화번호" pattern="num_dash" />
					</td>
				</tr>			
				<tr>
					<th class="pd_left">휴대폰번호</th>
					<td>
						<select name="mobile1" hname="휴대폰번호">
							<option value="" />---</option>
<?php 
echo sel_mobile($mobile1);
?>
						</select>
						-
						<input type="text" name="mobile2" value="<?php 
echo $mobile2;
?>
" style="width:50px; ime-mode:disabled;" maxlength="4" hname="휴대폰번호" pattern="phone2" onkeyup="this.value=this.value.replace(/\D/g, ''); check_focus('fwrite', 'mobile2', 'mobile3', 4);" />
						-
						<input type="text" name="mobile3" value="<?php 
echo $mobile3;
?>
" style="width:50px; ime-mode:disabled;" maxlength="4" hname="휴대폰번호" pattern="phone3" onkeyup="this.value=this.value.replace(/\D/g, '');" />
					</td>
				</tr>			
				<tr>
예제 #2
0
						<input type="text" name="name" value="" style="width:100px;" hname="이름" required />
					</td>
				</tr>
				<tr>
					<th class="pd_left">전화번호</th>
					<td style="padding-left:10px">
						<input type="text" name="phone" value="" style="width:170px;" hname="전화번호" pattern="num_dash" />
					</td>
				</tr>			
				<tr>
					<th class="pd_left">휴대폰번호</th>
					<td style="padding-left:10px">
						<select name="mobile1" hname="휴대폰번호">
							<option value="" />---</option>
<?php 
echo sel_mobile();
?>
						</select>
						-
						<input type="text" name="mobile2" value="" style="width:50px; ime-mode:disabled;" maxlength="4" hname="휴대폰번호" pattern="phone2" onkeyup="this.value=this.value.replace(/\D/g, ''); check_focus('fwrite', 'mobile2', 'mobile3', 4);" />
						-
						<input type="text" name="mobile3" value="" style="width:50px; ime-mode:disabled;" maxlength="4" hname="휴대폰번호" pattern="phone3" onkeyup="this.value=this.value.replace(/\D/g, '');" />
					</td>
				</tr>			
				<tr>
					<td colspan="2" align="center" style="padding-top:15px; border-bottom:none;">
						<a href="#" onclick="sendit(); return false;" class="btn_type01">확인</a>&nbsp;&nbsp;
						<a href="#" onclick="history.back(); return false;" class="btn_type01">취소</a>
					</td>
				</tr>				
			</table>