Ajax utick
How do I make an ajax utick?
What is a ajax utick? How do you make a ajax utick? This script and codes were developed by Robic on 11 August 2022, Thursday.
Ajax utick - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>ajax utick</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
</head>
<body> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Ajax utick - Script Codes JS Codes
function connect(){ return $.ajax({ url : "https://api2016.utick.be", type : 'POST', data : JSON.stringify({ "id": 1, "method": "System.ping", "jsonrpc": 2 }) })
}
//log to the account
function log(){ return $.ajax({ url : "https://api2016.utick.be", type : 'POST', data : JSON.stringify({ "id": 3, "method": "System.login", "jsonrpc": 2, "params": { "language": "fr", "applicationid": "51C2F46E-CE22-4BAB-3875-A27A155EFC88" } }) })
}
//list of event
function getActivities(id){ return $.ajax({ url : "https://api2016.utick.be", type : "POST", data : JSON.stringify({ "id": 10, "method": "Activities.get", "jsonrpc": 2, "params": { "sessionid": "qmaqlv17ge7je47qs58meltoa6", "id": "", "includepassed": "", "periodid": "" } }) })
}
//event sell details
function getMev(id){ return $.ajax({ url:"https://api2016.utick.be", type: "POST", data: JSON.stringify({ "id": 13, "method": "Mevs.get", "jsonrpc": 2, "params": { "sessionid": "qmaqlv17ge7je47qs58meltoa6", "id": id, "dateid": "" } }) })
}
connect().then(function(data){ log().then(function(data){ getActivities().then(function(data, id){ //the event var result = data.result; for (var i = 0; i < result.length; i++) { result[i]; var activityId = result[i].id; //console.log(result[i].label + activityId); var activityName = result[i].label; //console.log(result[i].series[0].dates +' '+ activityId); var resultD = result[i].series[0].dates; //the event dates for (var d = 0; d < resultD.length; d++) { resultD[d]; var dI = resultD[d].id; var dN = resultD[d].label; if(dI.length > 0){ //console.log(dI +' '+ dN + ' ' + activityId); } console.log('dI' + dI); }//for getMev().then(function(data){ resultMev = data.result; for(var j = 0; j < resultMev.length; j++){ resultMev[j]; var mev = resultMev[j].datelabel; var mev = resultMev[j].dateid; var mevP = resultMev[j].productfree; //if( mev == 0 ){ //console.log(mev +' '+ "complete" + activityId); //}else{ //console.log(mev +' '+ "Il reste des places"); //} console.log('mev' + mev); }//for })//getMev }//loop })//getActivities })
});
Developer | Robic |
Username | AudreyRBC |
Uploaded | August 11, 2022 |
Rating | 3 |
Size | 2,233 Kb |
Views | 32,384 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
A Pen by Robic | 2,548 Kb |
Multi-range Jquery | 3,166 Kb |
Tickets counter | 2,076 Kb |
Select with popup | 5,674 Kb |
Geoloc Realtime | 2,064 Kb |
Multifiltre | 3,450 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
RRC wrapSwitch | Pshrmn | 2,922 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Fluid Layout with Float | Jxqr97 | 1,785 Kb |
BlueBox Fork | Huskynation | 12,675 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Pure CSS Spinners | Jlong | 2,043 Kb |
SVG Scalable Text | Said_FD | 1,451 Kb |
Simple personal profile | Miroot | 2,856 Kb |
Simple Login Form Template | Banunn | 3,571 Kb |
Wrap_Test | Mscfourn | 7,503 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!