Home  >  Article  >  Web Front-end  >  Analysis of invalid problem of $.click() in jQuery_jquery

Analysis of invalid problem of $.click() in jQuery_jquery

WBOY
WBOYOriginal
2016-05-16 16:16:591799browse

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:

Copy code The code is as follows:


Motuge-A Label Test 1

http://blog.mo2g.com">Motu Song