project,
keydown judges that if it is the enter key, the function is called to perform the search.
click is a direct click to search, but
but keydown is not effective. Which god can solve the problem?
all the functions executed are the same function. It won"t work if I call the function directly, but I can use it if I put the contents of the function into keydown.