写一个正则 自己去转换吧
        var str = '<div id="text">aaacccvvvv</div>';
var m = str.match(new RegExp("<div id=\"text\">(.+)<\/div>"));
alert(m[1])