0
它的一種愚蠢的問題。但我不知道我犯了什麼錯誤。如果有人可以幫助。將變量傳遞給函數
<html>
<head>
<script type="text /vbscript">
function zips(s)
document.write(s)
end function
</script>
</head>
<body>
<script type="text/vbscript">
dim x,y
x="sushant"
<button onclick="zips(x)" id=button1 name=button1>clickme</button>
</script>
</body>
</html>
對不起,我不知道如何格式化它。但我沒有得到所需的輸出。任何幫助非常讚賞
+1:不錯的選擇:) – Sarfraz 2010-04-01 08:46:54
噢。感謝名單。這是一個愚蠢的錯誤。 – sushant 2010-04-01 08:48:48