Live Brilliant

자바스크립트에서 엔터키치면 동작 본문

개발은 핵찜이야/SCRIPT

자바스크립트에서 엔터키치면 동작

주인정 2012. 4. 13. 17:59
<!-- 검색 부분 시작 -->
<form name='searchform' method='get' action='<?=$g4[path]?>/youtube/search.php'>
<td align="right" >
<input type="text" name="query" id="search_input" value='<?=$query?>' size=30 maxlength=30 onKeyUp="if(event.keyCode == 13) submit();">
<input type="text" name="query2" value='<?=urlencode($query)?>' style="width:0">
</td>
<td width="50"><a href="javascript:searchform.submit();"><img src='<?=$g4[path]?>/img/home/search_botton.gif' border="0" align="middle" ></a>
</td>
</form>
<!-- 검색 부분 종료 -->

 

Comments