PHP JQuery onchange
I have a list of results, each column has a onchange action, but only the first line of onchange can be manipulated, the others do not respond, do not know how.
Query ($sqlDoctorTime), $arrDoctorTime = $SqlDB->getrows ($resDoctorTime); for ($i =0; $i
"; $strSelectStatus. ="
<title></title>
start time: |
(*) |
start time: |
" (*) |
|
1 doctor |
Start time |
End time |
Row period intervals |
Source number of initial number |
Number of remaining number of sources |
Whether to call |
Category |
Operator |
Operation |
Close ();? >
Reply to discussion (solution)
ID Repeat, put out the HTML source code out to see.
<title>Solid Tangke Service System V1.0</title>
|
You are currently using the system number: 0017-Wanhui, exiting the system |
|
start time: |
(*) |
start time: |
" (*) |
|
1 doctor |
Start time |
End time |
Row period intervals |
Source number of initial number |
Number of remaining number of sources |
Whether to call |
Category |
Operator |
Operation |
131 |
2013-07-06 17:00:00 |
2013-07-06 17:30:00 |
30 min |
12345678910 |
5 |
0 |
1 |
0017 |
Delete |
131 |
2013-07-06 16:30:00 |
2013-07-06 17:00:00 |
30 min |
12345678910 |
6 |
0 |
1 |
0017 |
Delete |
Upstairs, the HTML has been posted
ID Repeat, of course not!
$ (' #originalcounts '). Change can be changed to $ ('. Originalcounts '). Changes
The original SELCT all add an attribute class= "originalcounts"
Upstairs of the Ask, change to this is not the ID duplicate is no problem?
There is a problem, if my select ID is not the same, the following JS inside the properties of how to write it?
$strSelectStatus = ""; $ (' #originalcounts '). Change can be changed to $ ('. Originalcounts '). Change moderator, may I ask how to modify it? Bind the event to select to test the exampleABABAB
All right, thanks!
To Moderator: Can you explain to me what the following paragraph means?
Asynchronously processes the return data //function ajaxcheckres { /// document.getElementById (innerdiv). InnerHTML = "Data"; } //Reload page /*function getdigshtml () { $.ajax ({ type: ' POST ', URL: ' customservice.php ', Data: ', success:function (msg) { $ ("#digg"). HTML (msg);} } ) } */
To moderator, the new problem comes out, if there are 2 select elements on this page, point any select will trigger.