Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#

后端 未结 1 496
萌比男神i
萌比男神i 2021-01-27 21:06

This isn\'t working:

 Response.Write(\" DELETE \");


  

        
1条回答
  •  猫巷女王i
    2021-01-27 21:38

    First of all, \u is escpae code for a hex digit. So better re-format it.

    Second, href=view.aspx?type=notes is not a valid html syntax too. Double quotes please.

    Third, please put some code to check if your javascript variables (myObject,myFolder) are valid (not null) before invoke any method against them.

    0 讨论(0)
提交回复
热议问题