I have the following code:
public ActionResult AtualizaCliente(int id)
{
ViewBag.idFoto = new SelectList(dao.fotos, "idFoto", "Foto");
ViewBag.idInformacao = new SelectList(dao.informacoes, "idInformacao", "titulo");...
I have a method in a service that removes items older than 60 days from a list.
self.removerAntigas = function () {
var dataCorte = new Date();
var dataAux = dataCorte.getDate();
dataCorte.setDate(dataAux - 60);...
I downloaded jqGrid from version 4.8.2 and tried to change the language from 'en' to 'en' always displayed the message 'undefined'. I copied the file with the information to 'en' and changed all the texts to 'en-br'. Below is the entire contents...
I would like to make the user be able to drag the image when clicking on it, however without using jquery for this, using pure JavaScript. I can get the mouse position on the screen, but I can not do the function for the image to be dragged. C...
Hello, I have a problem that I have not found a solution yet.
I have an array of values, in which I make a scan and for each value execute function that makes a request to dynamodb and returns a JSON. This request is asynchronous. With...
I was reading about the async attribute, which is used in the <script> tag, and I was curious and dubious about some things.
According to the W3School :
A script that will be run asynchronously as soon as it is av...
I am writing this code which is to count the amount of characters remaining in a textarea. At first it seemed very simple and has enough documentation on the internet. But I realized that when I copy and paste some text into the textarea, the to...
I'm implementing a system for issuing invoices with fiscal printer in C #, but would like to know if the same is possible via web using JavaScript HTML, CSS etc.
How would I do this? Through which tools and resources?
Using the ng-click directive to get a click event on a link would look something like:
<a ng-click="call('home')" href="#" title="ir para homepage">Home</a>
But would not this be the same as using onclick="call('home...