Copy link to clipboard
Copied
I want to transfer data to and from a MySQL database.
Normally I would do this via JQiuery AJAX and use PHP scripts and MySQL queries.
$.ajax({
type: "POST",
url: "scripts/some_script.php",
data: {
data: some_data,
},
success: function(data) {
//do stuff
}
});
Can I do this in Animate with JavaScript?
If so, how exactly? I assume I would need to add the JQuery framework...
add the jquery path to your global>include script panel
Copy link to clipboard
Copied
add the jquery path to your global>include script panel
Copy link to clipboard
Copied
I could also add the JQuery framework as a link in the html file I guess....
Copy link to clipboard
Copied
Cool, I got that working with the Global Include Script.
$.ajax({
url: "scripts/get_patients.php"
}).then(function(data) {
root.patients.text = data;
})
Now I just need to get the dynamic text scrollable and entries clickable... another question.