How to call JavaScript function instead of href in HTML

前端 未结 7 1279
执念已碎
执念已碎 2020-12-12 20:18

I have some mockup in HTML

\"next

        
相关标签:
7条回答
  • 2020-12-12 20:58

    Try to make your javascript unobtrusive :

    • you should use a real link in href attribute
    • and add a listener on click event to handle ajax
    0 讨论(0)
提交回复
热议问题