Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
フォーカスすると、入力ボックスのテキストがChromeで選択され、FFで正常に動作します。これを取り除くにはどうすればよいですか。
私のセレクターは次のとおりです
$('.edit').click(function(){ $('input').focus(); });
Workaround I use:
$('.edit').click(function(){ $('input').focus().val($('input').val()); });
JSFIDDLE