Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure if I understand correctly, but do you mean that the search field shall be focussed immediately on the page?

    For that, please try adding this code to the “Custom Commands” textfield on the “Edit” screen of the table, and change the table ID as necessary:

    "fnInitComplete": function() { $('#tablepress-123_filter input').focus(); }

    Regards,
    Tobias

    Thread Starter nomandvs

    (@nomandvs)

    Thank you very much! The code works fine.
    Thank you for such a nice plugin – it keeps our business 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to install autofokus in the search box?’ is closed to new replies.