td 換行 div滾動條 獲取select的選項值

<table class="tablesorter" style='word-warp: break-word'”>

<td class="left_align" colspan="6" style="word-break:break-all;width:80%; overflow:auto;  ">

<div style="width:570px; height:230px; overflow:auto; ">

獲取select的選項值

 	var classIds = "";
 	if(userType!="1"&&orgclass_id==""){ //獲取班主任或管理員的權限行政班
 		$("select[id='orgclass_select'] option").each(function(i,n){
		 	if(jQuery(n).val()!=""){
		 		classIds += jQuery(n).val()+",";
		 	}
	 	});
 		classIds = classIds.substring(0,classIds.length-1);
 	}else{
 		classIds = orgclass_id;
 	} 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章