jquery - Javascript search form doesn't work in Firefox, but does in IE -
i have js script searches database , on selection inserts value search form. works fine. on clicking submit on form, in ie supposed go clientdetails.php using method using submitted value. in firefox, nothing happens.
$(function() { $( "#clientsearch" ).autocomplete({ source: 'backend_search_address2.php' }); });
<form action="clientdetails.php" method = "get" role="form" style = "padding-top: 7%"> <div class="form-group input-group"> <input id= "clientsearch" type="text" name="client_id" class="form-control" placeholder="search address..."> <span class="input-group-btn"> <button type="submit" value="submit" form="clientsearch" class="btn btn-default" role="button"></a><i class="glyphicon glyphicon-search"></i> </button> </span> </div> </form>
Comments
Post a Comment