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