 |
|
|  |
input ÀÔ·Â ÇÊµå ¾ÕµÚ °ø¹é ½Ç½Ã°£ Á¦°Å |
|
|
 |
1³â Àü |
oninput À̺¥Æ® Çڵ鷯¸¦ »ç¿ëÇÏ¿© ÀÔ·Â Çʵ忡 ÅؽºÆ®°¡ ÀÔ·ÂµÉ ¶§¸¶´Ù trim() ÇÔ¼ö¸¦ »ç¿ëÇÏ¿© ¾ÕµÚ °ø¹éÀ» Á¦°ÅÇϵµ·Ï ¼³Á¤Çß½À´Ï´Ù.
<input type="text" name="key" oninput="this.value = this.value.trim();" value="<?php echo isset($key) ? trim($key) : ''; ?>" placeholder="ÀÔ·Â Çϼ¼¿ä" /> |
|
̵̧ : 115 |
̵̧
¸ñ·Ï
|
|
|  |
|