The forum of documents and methods for studying - Lượm lặt kiến thức

    How to set cursor to input box in javascript?


    Nam Libra Monkey
    Tổng số bài gửi : 1568
    Tiền xu Ⓑ : 3891
    Được cảm ơn № : 6
    Ngày khởi sự Ngày khởi sự : 07/01/2013
    Đến từ Đến từ : HCMC
    Côngviệc / Sởthix Côngviệc / Sởthix : Languages, Softwares, Sciences, Martial arts

    How to set cursor to input box in javascript? Empty How to set cursor to input box in javascript?

    Bài gửi by QaniTri 22nd October 2017, 00:43

    In jQuery

    Source: https://stackoverflow.com/questions/10894638/how-to-set-cursor-to-input-box-in-javascript
    Extension: https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija
    slashsearch: https://chrome.google.com/webstore/detail/forward-slash-search/ajneifmmbmkbagjceelhcdfhnnikaebj
    See more: https://stackoverflow.com/questions/18054459/how-to-place-the-cursor-auto-focus-in-text-box-when-a-page-gets-loaded-without

    With the Vimium extension, you can use the command GI to focus the first (or n-th) text input box on the page.

      Hôm nay: 24th September 2023, 20:13