I made a code js so that every week the specific advertising banner is changed, in case every Sunday one banner is exchanged for the other.
I started doing Javascript , but within the r == 0 compare function document.byele...
I have a serializeArray in my form to send the data via post with ajax, but I wanted to get a data that is in a hidden field in the form to use before the post, in the same javascript, how can I recover?
// setup some local variables
var...
I'm using this code below to validate a date field.
$.validator.addMethod("formatoData",
function (value, element) {
var reg = /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789...
I have a page that saves the user's photo, when editing the photo the cache always continues taking the old photo to display. Already tried using:
and I tried to use some variations of it and it does not work. Does anyone know any other w...
I have the following code:
var rtn = null;
gapi.client.drive.files.list({
q: "mimeType = 'application/vnd.google-apps.folder'",
}).then(function(response) {
var files = response.result.files;
rtn = files[0][...
I have a question but I do not know where to start and I did not find anything on the net to teach me something like that.
I created a pie chart using angular (ready method) but I need to create an interactive graph, the idea is as follows....
How does Facebook do this by loading your page?
It loads the content bit by bit and not all at once like most sites, StackOverflow is an example that loads.
How do you call this loading technique? (if you have a name)
How can I do it in Ja...
In typeahead in Jquery, how do I make the search suggestion just only selected down ? >
$(document).ready(function () {
$('#search').typeahead({
source: function (query, result) {
$.ajax({...
How popular is a table with JSON using XMLHttpResquest POST ?
Jquery
var xhr = new XMLHttpRequest();
xhr.open("POST", "/EnvioEmail/PlanilhaPaciente", { area: "Sistema" }, true);
xhr.addEventListener("load"...
I'm creating a form from a repository and I have several fields like that of modality. What I do not know how to do is create a function so that when a person clicks the + button next to the select, it creates on the screen another select field...