var aaa = $('#'+span的id).text();
如果想获得html代码,把text换成html就可以了,有时候还是不能的话,
请 把你的js代码放到 <span></span>的后面,因为html是从上往下读的。