text:  $(document).ready(function(){
  
  
            $("#sub").click(function(){
              console.log($("#number").val());
               var data={
                     "number" :$("#number").val(),
                     "name":$("#name").val(),
                     "email":$("#email").val(),
                     "phone":$("#phone").val(),
                     "photo":$("#photo").val(),
                     "gpa":$("#gpa").val(),
                     "competion":$("#competion").val(),
                     "reword":$("#reword").val(),
                     "acdemic":$("#acdemic").val(),
            };
              $.ajax({
                url:"/dataproject/index.php/Main/setstu",
                method:'post',
                data:data,
                dataType:'html',
                success:function(result){
                    $("#result").html(result);
                }
              });
            });
            
  
            　$("#input").click(function(){
               var data={
                     "number" :$("#number").val(),
                     "name":$("#name").val(),
                     "email":$("#email").val(),
                     "phone":$("#phone").val(),
                     "jobtitle":$("#jobtitle").val(),
                     "achieve":$("#achieve").val(),
                     "research":$("#research").val(),
                     "course":$("#course").val(),
                     "honor":$("#honor").val(),
                     "coursedescription":$("#coursedescription").val(),
                     "courseaims":$("#courseaims").val(),
            };
              $.ajax({
                url:"/dataproject/index.php/Main/settea",
                method:'post',
                data:data,
                dataType:'html',
                success:function(result){
                    $("#result").html(result);
                }
              });
            });
            
            });
  
  
  　　　　　
  　　　　
  
  
  
         
  