Dim hyp = New HyperLink()
hyp.ID = a_taglist(itags)
hyp.Attributes.Add("onmousedown", "return clk('" & a_taglist(itags) & "')")
panel1.Controls.Add(hyp)
行が欲しい:
hyp.Attributes.Add("onmousedown", "return clk('" & a_taglist(itags) & "')")
ハイパーリンクに onmousedown 属性を追加します。
& # 39
動作しますが、 ;に置き換えられます。
onmousedown="return clk(& #39;bavaria& #39;)"
どうすればこれを回避できますか。私はそれをエスケープして、すでに"\"
送信しようとしました。char(')
何か案は?