Php+jquery do onchange Submit action problem, ask someone to help see

Source: Internet
Author: User
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
Doctor Schedule settings
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.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.