获取P标签里面的内容var mychar= document.getElementById("con").innerHTML;
2015-03-04
<style>
#con{color:red;background-color:#ccc;width:300px;}
</style>
#con{color:red;background-color:#ccc;width:300px;}
</style>
2015-03-03