I made the request via get using laravel as backend. However, if I update some data in the database itself, I need to refresh the page where the angular is loaded for it to update.
Using the angle, would not it have to update automatically?
&l...
Several front-end applications implement a signature template in the files to control the cache, and every change in the file that signature changes.
Signature examples:
sw-d58e3582afa99040e27b92b13c8f2280.js
sw.js? _gc = 20180101
How d...
Well, I'm pretty new to javascript and would like to know how to do the API call in JS and then I need a loop to list calls, they're in array in json. Can someone help me with this question?
code that I'm using to call the API
function list...
Well, I have an enum for the days of the week, being:
Segunda = 2,
[Display(Name="Terça")]
Terca = 3,
Quarta = 4,
Quinta = 5,
Sexta = 6,
[Display(Name = "Sábado")]
Sabado = 7
So I build an object that has a da...
How can I insert a c # string into the script?
string teste = "testando";
chromeBrowser.ExecuteScriptAsync("$(document).ready(function() {alert({0})}); ", teste);
I tried this code but it did not return anything
The most common is that links to other html files are made through the <a href> tag, however, how would I call a .html file from within a javascript function? That is, the user clicks the link whose onclick event is pointing to an...
I have a jQuery click function and wanted me to click on it button to download a PDF file, how do I do this function?
$('#download').click(function() {
//seria aqui a função
}
<button type="button" id="download"> Dow...
Good morning everyone!
I'm trying to make a plans page:
link
I'm having trouble scrolling.
You can see that only with the club plans does it work and the others does not work.
According to the browser is causing this error: Uncaught Ty...
I am making use of facebook sharing. But in the URL of the button I'm also passing the user id to do actions later, as follows:
<div class="fb-share-button"
data-href="https://meusite?id=<?=$id_pessoa?>"
data-layout="button"&g...