js調用問題
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function pushNewsDate(dataText) {
alert(dataText);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Text="Button" />
</form>
</body>
</html>
当我從其他頁面傳過來dataText這個參數時,我用button怎麼來取dataText裏面的值