我有这段代码使用vb.net
来显示confirm message
,但我想要得到返回结果并在vb.net
代码中使用它。我可以从JavaScript获得结果并在vb.net中使用它吗?
Dim str As String = "<script>" &
"$('.test').live('click',function(){" &
"confirm('test');" &
"})</script>"
ScriptManager.RegisterClientScriptBlock(control, GetType(Button), "sas", str, False)
我想在html compnent
把结果存储数据和vb.net
代码中使用它,是有另一种解决方案?