javascript - Submit Form Issue in Search Bar -
no matter try cannot submit search form
<div id="search_bar_container" style="z-index:99999"> <div class="container"> <form action="tour-list-search-results.php" method="post" name="search_2" id="search_2"> <div class="search_bar"> <div class="nav-searchfield-outer"> <input type="text" autocomplete="off" name="field-keywords" placeholder="type search terms ...." id="twotabsearchtextbox"> </div> <div class="nav-submit-button"> <input type="submit" onclick="this.form.submit();" name="button" id="button" class="nav-submit-input" value="submit"> </div> </div> <!-- end search bar--> </div> </div> <!-- /search_bar--> </form> </div>
this seems work fine, html looks invalid. form not nested correctly , have tag.
Comments
Post a Comment