I'm running a function in the hyperlinks of my system, as shown in the code below:
<md-menu-item ng-repeat="insumo in insumos">
<a href ng-click="verificar('mostrarInsumos', insumo.ins_cl_id, '1', $event)">
<md-butto...
This may sound like a silly question, but I'm kind of in trouble for a problem here.
I need to gather through the browser some information that helps me identify the client that is browsing.
I already know the MAC address I will not be able t...
I do a very rough check to see if the form is filled, if it is not there is a alert("Preencha todos os campos!"); , the problem is that when I click OK it reloads the page and thus clearing the form.
I need the alert OK button not to c...
I have a script that checks the difference between two sets of dates, and I want it when one of these differences is greater than the other, that the previously chosen value of a certain select changes.
As a snippet of code is wo...
I'm making a game and I need a routine that disables the click at least until I finish the function.
The function is this below. When I click on the element and execute this function with touchstart and click I want that within...
I need to keep the option chosen in the combobox after the page is submitted,
I have a function that does this, but only for combobox static, for the dynamic combobox it does not work. I'm already searching for hours and can not find anything....
I'm doing a project whose pages are loaded into a main container .
All link is an anchor but what is after the hash is really a path. My JavaScript is scheduled to detect hash swap events, so it picks up the path by subtracti...
I would like to do the following in the img variable below: Get true if ALL images (img tag) are EQUAL or false if ONE OR MORE is DIFFERENT from the others. I tried loop for , but it does not work as expected, because I c...
Good morning,
I know very little about JQuery and JavaScript (Almost anything) and I have a problem.
It is as follows:
In my site I have two buttons, which open a modal (generated with css). The modal content is basically the same, contain...
I have a simple ajax + txt script and I can access the txt data, but I want to select the data of an array in ajax, for example, search only the name or just the age. See the code;
<!DOCTYPE html>
<html>
<head>
&l...