1
<html>
<head>
<script>
function loadXMLDoc()
{
Welcome To Ajax
}
</script>
</head>
<body>
<div id="myDiv"><h2>Let AJAX change this text</h2></div>
<button type="button" onclick="loadXMLDoc()">Change Content</button>
</body>
</html>
如何在點擊按鈕時顯示文字。點擊按鈕時如何顯示文字?如何在我們點擊按鈕時顯示文字
這個問題令人困惑,無論您是需要幫助閱讀xml文檔還是在頁面上顯示文本? – Rab 2014-09-02 13:51:26
當我們點擊按鈕它應該顯示歡迎ajax .. – user3564915 2014-09-02 13:58:22