Home > Article > Web Front-end > Analysis of invalid problem of $.click() in jQuery_jquery
When I exported the form to xls today, I wanted to automatically trigger the click of a. But failed. Finally found this file.
I have tried many times to use jQuery to simulate the function of the user clicking on the a tag, but without success, and I have been troubled for a long time. I was in a daze some time ago and a new idea came up, so I started testing it.
Look at the code below first: