$('.m_lp_title li').on('click',function(){ var _dataid = $(this).attr('dataid'); $('.m_lplist[dataid="'+_dataid+'"]').show().siblings().hide(); $(this).attr('class','in').siblings().attr('class',''); $(this).find('img').show().parent().siblings().find('img').hide(); }) $('.m_bm').on('click',function(){ $('.m_jzhs_box').show(); var _data = $(this).attr('data'); $('.m_jzhs em').html(_data); }) $('.m_jzhs_gb').on('click',function(){ $('.m_jzhs_box').hide(); }) $('.m_jzhs_zhez').on('click',function(){ $('.m_jzhs_box').hide(); }) //报名验证提交的调用 侧边栏 PublicAction.AjaxSend({CORID:'m_jzhs_buttom'/*操作ID*/}); $('.submit_area .m_jzhs_buttom').on('click',function(){ setTimeout(function(){ var _htmlv2 = $('.alert-container .alert-content').html(); if(_htmlv2 == '提交成功'){ $('.m_jzhs form input[type="text"]').val(''); $('.m_jzhs_box').hide(); console.log(1); } console.log(_htmlv2) },300) })