Reputation: 319
I am using Liferay Search portlet
.In which I want to get the Id of search button of <liferay-ui:search/>
tag.also I want to trigger a 'auto click' event on 'search button'.
Upvotes: 1
Views: 260
Reputation: 4210
Using jQuery , you can get search image by $('.portlet-search input[type=image]')..as liferay-ui:search tag uses input image type for search button.
Upvotes: 1