call javascript function on hyperlink click

前端 未结 9 1949
陌清茗
陌清茗 2020-11-30 21:13

I am dynamically creating a hyperlink in the c# code behind file of ASP.NET. I need to call a JavaScript function on client click. how do i accomplish this?

9条回答
  •  日久生厌
    2020-11-30 21:40

    The simplest answer of all is...

    Or to answer the question of calling a javascript function:

    
    
    My link

提交回复
热议问题