How to call a href by onclick event of a button?

前端 未结 2 717
迷失自我
迷失自我 2021-01-25 04:39

I have the following a href I use to open jquery dialogs, which works fine. Basically, the openDialog class has attached the jquery dialog code:

 &l         


        
2条回答
  •  生来不讨喜
    2021-01-25 04:49

    If I get you question right then may be jQuery trigger()(?) is what you are looking for. Example:

    
    Triggerable link
    
    
    

提交回复
热议问题