Javascript simulate pressing enter in input box
问题 I have what seemed to be a simple fix to a problem but after trying a ton of different solutions online nothing seems to work for me. I have search field that searches a data table every time you type or press enter in the input field, however after I assigned a value to the search box when the page is loaded it wont do the search until after the user either presses enter in the box or types / deletes a letter. I was just trying to find a solution to simulate hitting enter but it didn't seem