How to autofocus on table “Search” field?
-
Tobias, thank you for your wonderful plugin. I have the data filtering extension installed with the search field to find items in my table matching a keyword entered.
I would like the webpage focus to automatically be set to the Search input field. I saved my webpage, and added the autofocus input attribute to the line “<label>Search:<input type=”search” class=”” placeholder=”” aria-controls=”tablepress-2″ autofocus></label>”.
When opening the static .htm file, this does bring focus to my search field. The problem now is identifying where tablepress sets the <input> line.
Can you help achieve autofocus on my tablepress search input field on page load?
- The topic ‘How to autofocus on table “Search” field?’ is closed to new replies.