blog已經轉移至github,大家請訪問 http://qaseven.github.io/
jQuery 事件參考手冊
在文本域后添加文本,以顯示出提示文本:
$("input").select(function(){ $("input").after(" Text marked!"); });
親自試一試
當 textarea 或文本類型的 input 元素中的文本被選擇時,會發生 select 事件。
select() 方法觸發 select 事件,或規定當發生 select 事件時運行的函數。
$(selector).select()
$(selector).select(function)
posted on 2014-04-08 18:01 順其自然EVO 閱讀(127) 評論(0) 編輯 收藏 所屬分類: jQuery
Powered by: BlogJava Copyright © 順其自然EVO