我尝试捕获下面的表单代码提交的值,无论是单击输入按钮还是实际提交按钮。目前我有一个基于事件的规则:
Event Type: submit
Element Tag or Selector: form
id = inputCuratedSearch
但是这条规则没有解雇?
<form method="post" action="/small-business.html" id="form1">
<li class="nav-utility-item hovering" id="curatedSearch">
<a href="#" id="lnkSearch" class="nav-utility-link search2015 curatedSearch2016" aria-expanded="false">search</a>
<div id="containerCuratedSearch" class="curatedContainer searchOpen" aria-hidden="true" style="display: block;">
<input id="inputCuratedSearch" class="ui-autocomplete-input" type="text" list="data-json" placeholder="Search..." autocomplete="off">
<input id="blockInput" class="" style="display: none">
<button id="btnCuratedSearch"></button>
不确定我做错了什么,以及如何捕获输入字段中的值?