2010-08-21 4 views

답변

2

this article를 살펴 보자 다음

<input type="text" id="txtInput" /> 

과 :

$('#txtInput').click(function() { 
    var textbox = $(this); 
    textbox.focus(); 
    textbox.select(); 
}); 
2
$('input').focus(function() { 
    $(this).select(); 
}); 
관련 문제