[jQuery] focus
[jQuery] focus
------------------------------------------------------------------------------------------
...
$("# taCont").focus();
...
$('#taCont').focus(function() { alert('작성해 주세요.'); });
------------------------------------------------------------------------------------------
...
<textarea id="taCont" name=" taCont " style="width:384px;height:30px; margin:4px;" ></textarea>
...
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
댓글