Home > widget-integration > InstantSearchSelectors > getAllSearchInputs
InstantSearchSelectors.getAllSearchInputs() method
Get all search input elements.
**Legacy**: document.querySelectorAll('input[name="q"]...') **New**: Method using theme-specific selector
Signature:
getAllSearchInputs(): HTMLInputElement[];
Returns:
HTMLInputElement[]
Array of search input elements