注册/登录|最近发布|今日推荐
1.判断id/ class 是否存在?
<script>$(function(){ ???if(("#id_name").length()>0){ ???//如果id 存在 ???}})</script>
jquery/js 元素操作