我有这个项目,人们可以上传他们自己的小项目,包括标题、描述、类别和网址。
我有以下警报消息:
Dim cs As ClientScriptManager = Page.ClientScript
cs.RegisterStartupScript(Me.GetType(), "success", "alert('Succesfully added');", True)
这是他们可以将类别插入数据库的部分。但是有没有可能有这样的东西:
cs.RegisterStartupScript(Me.GetType(), "thanks", "alert(//NOTE THIS'TextBoxCategory.Text// is succesfully added');")
所以它显示文本框的值并会说:"Website" is succesfully added
我已经像这样尝试过,并且 .value 在它后面。