function GetComment($ID,$Page){
$.ajax({
url:"Comment.aspx?action=ajax_getcomment&id="+$ID+"&page="+$Page+"&time"+new Date().toString(),
type:'GET',
success:function(){
$('#comment').html(arguments[0]);
}
});
}
$.ajax({
url:"Comment.aspx?action=ajax_getcomment&id="+$ID+"&page="+$Page+"&time"+new Date().toString(),
type:'GET',
success:function(){
$('#comment').html(arguments[0]);
}
});
}
解决方案 »
- 关于JS+css滤镜制作超链接title效果小问题
- onMouseOver , onMouseOut 放在一个包含很多td的tr里时如何防止多次触发
- 如何在javascript 如何知道当前获得焦点的元素 ,谢谢大侠了
- 简单问一个问题,IE代码转换为firefox中兼容代码。解决立马给分。
- 页面中id的值能为数组值吗?
- javascript中如何替换word中的文本框内容
- 飞鱼在线编辑器的问题!!!急!!!
- 问题,解决了400分,懂HTC的高手进 (JAVASCRIPT
- 如下功能如何实现?
- Uncaught TypeError: Cannot read property 'parentNode' of undefined
- 给页面中所有input添加click事件监视器,在页面前面宏观添加,不要用unload,不要在每个input上直接添加onclick,怎么做?
- arguments[0] 什么意思
$('#comment').html(arguments[0]);
}
function GetComment($ID,$Page){
$.ajax({
url:"Comment.aspx?action=ajax_getcomment&id="+$ID+"&page="+$Page+"&time"+new Date().toString(),
type:'GET',
success:callback
});
}
function GetComment($ID,$Page){
$.ajax({
url:"Comment.aspx?action=ajax_getcomment&id="+$ID+"&page="+$Page+"&time"+new Date().toString(),
type:'GET',
success:receiveData
});
}
function receiveData(data){
$('#comment').html(data);
}