how to display alert box in asp.net

前端 未结 4 546
梦谈多话
梦谈多话 2021-01-06 17:01

i have a registration page with a submit button.

i want to show an alert box when the \"user clicks on the submit button\" after which the \"data entered by the user

4条回答
  •  醉话见心
    2021-01-06 17:38

    Did you mean for the javascript to be "alerts("+ str + "');" and not "alert(" + str + "');"?

提交回复
热议问题