Managing LinkButton with Javascript?

前端 未结 1 1221
庸人自扰
庸人自扰 2021-01-26 05:57

I have a LinkButton called \"Exit Chat\" on the view.I embed javascript code into OnClientClink=javascript:confirm(\'Are you sure you want to end

1条回答
  •  耶瑟儿~
    2021-01-26 06:38

    You can check the result of the confirm and then close the window if true.

    
    
    
    
    
                                     
                  
提交回复
热议问题