對於ASPX而言,我是一個新手,我在開發代碼時遇到了問題。請看下面。如何設置旁邊的文本框來刪除按鈕?如何通過使用Javascript插入文本框
testTypeNode.Text = testTypeNode.Text & "" & _
" <img src=""../images/delete_16x.ico""" & _
" style=""text-align:bottom; cursor:pointer;"" alt=""Delete TestType""" & _
" title=""Delete TestType"" onclick=""javascript:if(confirm('`enter code here`Are you sure you want to delete? Any running tests will be aborted!'))" & _
" {" & ClientScript.GetPostBackEventReference(btnDeleteTestType, "" & sequenceNode.Value.ToString & _
WordSeparationChar & testTypeNode.Value.ToString & "") & ";};"" />"
你想這與後回服務器發生,或在客戶端? – mellamokb 2012-04-16 17:14:46
回覆後,謝謝 – 2012-04-16 17:28:35
你只是試圖讓一個文本框旁邊的刪除按鈕? (對不起,語言障礙在這裏) – 2012-04-16 18:08:55