日期:2014-05-17 浏览次数:20720 次
<img src="images/delete.gif" width="16" height="16" id="delete" name="delete" idvalue='123' /> $('delete').click(function() { var id = $(this).attr('idvalue'); // do post or other function like this $.post('http://*********',{idvalue:id},function(data) { alert('server result:' + data); }); });