본문 바로가기 주메뉴 바로가기

경제사회노동위원회 Economic, Social & Labor Council

ENG

역대정부 사회적 대화

bbs/data/list.do?menu_idx=2207&root_yn=N" class="social-conversation__btn">자세히 보기
  • $(document).ready(function () { $("#tab_navi_top li").click(fnLeftChange); }); function fnLeftChange(){ $.each($("#tab_navi_top li"),function(i){ $(this).attr("class", ""); }); $(this).attr("class", "on"); } function fn_searchBoard(stype,searchButton){ $.each($("#idSearchBoard a"),function(i){ $(this).attr("class", ""); }); $(searchButton).addClass("active"); fn_tabList(stype); /* $.each($("#tab_navi_top li"),function(i){ $(this).attr("class", ""); }); $(this).attr("class", "on"); */ } function fn_tabList(stype){ var ajax_url = '/bbs/data/tabmenu_ajax.do?per_menu_idx=&menu_idx=1986&submenu_idx=&tabCnt=0&root_yn=N&stype=' + stype; $("#stype").val(stype); $.ajax({ type: "post", cache : false, url: ajax_url, dataType: "html", success: function(data){ //alert( data ); $('#id_tab_navi').html(data); }, error:function(x,e){ //alert(x.status); //alert(e); if(x.status==0){ alert('You are offline!!\n Please Check Your Network.'); }else if(x.status==404){ alert('Requested URL not found.'); }else if(x.status==500){ alert('Internel Server Error.'); }else if(e=='parsererror'){ alert('Error.nParsing JSON Request failed.'); }else if(e=='timeout'){ alert('Request Time out.'); }else { alert('Unknow Error.n'+x.responseText); } } }); }