24.12.20
Saleforce allows you to execute queries using a technology that resembles JavaScript. It is possible to work with JSON. And the results can be passed back to AMPscript. Requests are executed on the server side
%%[
...
04.10.20
It is now possible to hide the scrollbar while retaining functionality using CSS without using JavaScript.
.box{
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.box::...
27.09.20
Let's upload a file to the server using ajax. Let's use axios.
let formData = new FormData(),
input = document.getElementById('file');
//"file" - key on server
formData.append("file", input.files[0]);
//...
08.06.20
The task of downloading a file using ajax may be more difficult than it seems at first glance.
First option
Send the file as base64. Substitute the href attribute. And programmatically click on the link.There may be ...
11.04.20
Endless rotation of the block clockwise using css animation
.rotated{
animation-name: rotation;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyfra...