日期:2014-05-16 浏览次数:20419 次
<a href="http://www.baidu.com" onclick="return clickobj(this.href)" >sssssssssss</a>
<script type="text/javascript">
function clickobj(url) {
var imgobj = new Image();
imgobj.onload = function(){
location.href = url;
};
imgobj.src = "http://xxx.xx.com.api.php?act=xxx&val=xxx";
return false;
}
</script>