The inoput type=search soft keyboard search button on the mobile ios web page always turns into a confirmation button, and the click is invalid.

in doing a search function, the input box type is search, and form, is also set on the outside, but in the input process, the search button of the soft keyboard will become a confirmation button at certain times, and it is impossible to click the confirm button at this time. Have you ever encountered this situation? The
html code goes like this

<form action="">
  <input type="search" placeholder="" class="searchProduct" id="searchProduct" autocomplete="off"/>
</form>

js contains several methods, all of which are invalid when you click OK.

$("form").on("submit", function(evt){
  
});
//
$(".searchProduct").keyup(function(evt){
    if (evt.keyCode == 13) {
    
    }   
});

clipboard.png

clipboard.png

as long as it becomes a confirmation button, clicking confirmation has no effect at this time. Only deleting one or two words or adding one or two words will become a search. Usually, clicking confirm will become a search when you enter a letter, but it will become a confirmation under certain circumstances.

Mar.07,2021

there is no solution, IOS system problem, you try Baidu mobile input box also has this problem.
you can only add a search button to the right from the product point of view.


has the problem of the landlord been solved

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e41e7c-436a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e41e7c-436a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?