function doClick(linkId){
var obj = $(linkId);
if (document.createEvent)
{
var evObj = document.createEvent('MouseEvents');
evObj.initEvent( 'click', true, false );
obj.dispatchEvent(evObj);
}
else if (document.createEventObject)
{
obj.fireEvent('onclick');
}
}
阅读(1473) | 评论(0) | 转发(1) |