www.gusucode.com > 电影影院门户论坛源码程序网站 > 整站安装/整站源码/source/plugin/dzapp_haodai/images/wap/s.js
/** * 高级搜索 */ function conditionSel(obj) { var obj = $(obj); var showTit = obj.parents('.moreSearchTC_Con_li').children('span.HomeSelect_span'); var $selectObj = obj.children('option:selected'); var selectTit = $selectObj.text(); showTit.text(selectTit); } $(document).ready(function() { var $selectList = $(".mHSearch_select_show"); $.each($selectList, function(index, domEle) { conditionSel(domEle); }); });