Page 300 - MDP2022-2
P. 300

}
                                  }


                        else  if(max_label  ==  "대기(그  외)")  {
                              run(2);
                        }
                        else  {
                              run(2);
                        }
                      }

                  function  run(mode)  {
                        $.post("http://localhost/io.php",  {  mode:  mode  },
                        function(result)  {
                              //alert(result);
                        });
                  }


                  function  connect(name)  {
                                  $.post("http://localhost/park.php",  {  name:  name  },
                                  function(result)  {
                                        //alert(result);
                              if(name  ==  "job")  job_state  =  result;
                              if(name  ==  "math")  math_state  =  result;
                              if(name  ==  "programming")  pro_state  =  result;
                              if(name  ==  "english")  eng_state  =  result;
                                  });
                  }


                  function  park_job(mode)  {
                                  $.post("http://localhost/park2.php",  {  mode:  mode  },
                                  function(result)  {
                                                  //alert(result);
                                  });
                  }


                  function  park_math(mode)  {
                                  $.post("http://localhost/park3.php",  {  mode:  mode  },
                                  function(result)  {
                                                  //alert(result);
                                  });
   295   296   297   298   299   300   301   302   303   304   305