我正在使用Liferay Search portlet
。我想在其中获取<liferay-ui:search/>
标签的搜索按钮的ID。我也想在'搜索按钮'上触发'自动点击'事件。
使用jQuery,您可以通过$('。portlet-search input [type = image]')来获取搜索图像。因为liferay-ui:search标签使用输入图像类型作为搜索按钮。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.