有a.html和a.php两个文件,在a.html中使用JS,a.php生成动态的内容,如何在a.html中获取a.php的动态内容。说白了,就是a.html中有类似这样的函数,请问这个函数怎么写。
<div id='aa'></div>
<script>
function get(abc){
将a.php?a=abc里面的内容置于aa这个DIV中
}
</script>代码越简洁越好。谢谢了。