<script type="text/javascript" src="ajax.js"></script>
<script>
window.onload = function(){
var btn = document.getElementById('btn');
btn.onclick = function(){
ajax('date.txt',function(str){
var arr = eval(str);
alert(arr[0]);
});
};
}
</script>
慕UI3524263
相关分类