php+jquery做onchange提交动作的有关问题,请人帮忙看看

WBOY
Release: 2016-06-13 12:39:58
Original
1192 people have browsed it

php+jquery做onchange提交动作的问题,请人帮忙看看
我有个列表出来的结果,每列都有个onchange的动作,可是只有第一行的onchange可以操作,其他都没有反应,不知道怎么回事。

<br>
 <br>
	include("../config.inc.php");<br>
	<br>
	//医生排班列表开始<br>
	$strDoctorTime = "";<br>
	if( isset($_REQUEST['Action']) && !empty($_REQUEST['Action']) && ($_REQUEST['Action'] == "setdoctortime") ){<br>
		<br>
		<br>
		$sqlDoctorTime = "select sid,doctorid,CONVERT(varchar(100), starttime, 20) as starttime,CONVERT(varchar(100), endtime, 120) as endtime,duration,createtime,type,operid,status,visits_counts,original_counts,istrue from gst_scheduling where doctorid = '".$_REQUEST['doctorid']."' ";<br>
		//if ( (isset($_REQUEST['starttime']) && !empty($_REQUEST['starttime'])) && (isset($_REQUEST['endtime']) && !empty($_REQUEST['endtime']))  ) {<br>
		//	$sqlDoctorTime .= " ";<br>
		//}<br>
		$sqlDoctorTime .= " order by sid desc";<br>
<br>
		$resDoctorTime = $SqlDB->Query($sqlDoctorTime);<br>
<br>
		$arrDoctorTime = $SqlDB->getRows($resDoctorTime);<br>
		<br>
		<br>
		for($i=0; $i<count></count>
			$strSelectStatus = ""; //初始号源下拉值<br>
			$strSelectStatus  = "<select>";<br>
			$strSelectStatus .= "<option></option>
			if(trim($arrDoctorTime[$i]['original_counts']) == "1") $strSelectStatus .=  ' selected';<br>
			$strSelectStatus .= ">1";<br>
			$strSelectStatus .= "<option></option>
			if(trim($arrDoctorTime[$i]['original_counts']) == "2") $strSelectStatus .=  ' selected';<br>
			$strSelectStatus .= ">2";<br>
			$strSelectStatus .= "<option></option>
			if(trim($arrDoctorTime[$i]['original_counts']) == "3") $strSelectStatus .=  ' selected';<br>
			$strSelectStatus .= ">3";<br>
			$strSelectStatus .= "<option></option>
			if(trim($arrDoctorTime[$i]['original_counts']) == "4") $strSelectStatus .=  ' selected';<br>
			$strSelectStatus .= ">4";<br>
			$strSelectStatus .= "<option></option>
			if(trim($arrDoctorTime[$i]['original_counts']) == "5") $strSelectStatus .=  ' selected';<br>
			$strSelectStatus .= ">5"; <div class="clear">
                 
              
              
        
            </div></select>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template