khamsat khamsat khamsat

Ajax

as long as ajax is most required technology haxcv built to dealing with it
simple Ajax , form Ajax , upload , formData .


<script >

Obj.Ajax({
   url:"login.php",
   method:"POST",
   data:{user:"user",pass:"pass123"},
   before:()=>{},
   after:()=>{},
   progress:(a,b,c)=>{},
   info:(data)=>{
      alert(data);
   }

});

</script>
    

create login bar


<input v-define="Username=js://me.value" fn-keyup fn-keydown  />
<input v-define="Password=js://me.value" fn-keyup fn-keydown type="password"/>
<button fn-click fn-exec="ajax()" >login</button>
<script >

function ajax(){
   Obj.Ajax({
     url:"login.php",
     method:"POST",
     data:{user:Username,pass:Password},  
     info(data){
        alert(data);
      }

    });
}

</script>
    
khamsat khamsat khamsat khamsat