jquery selector statement for search box
jquery selector statement for search box
ngungo
Posts: 64Questions: 23Answers: 2
Hi,
I've been struggled for awhile . The search box has no class nor id, how do I jquery select the input to get or set its placeholder? Any tips appreciated. Thanks.
This discussion has been closed.
Answers
This example creates a custom search event from the default search input:
Kevin
Setting a placeholder can be done using the
language.searchPlaceholder
option. If you need to access the element directly, use the selector Kevin suggests.Allan