Using jQuery to programmatically click an link

后端 未结 9 1947
一生所求
一生所求 2020-11-29 03:55

I know this question has been asked before, but after a search on the web I can\'t seem to find a straight forward answer.

the HTML

         


        
9条回答
  •  臣服心动
    2020-11-29 04:34

    I had similar issue. try this $('#myAnchor').get(0).click();this works for me

提交回复
热议问题