I have few functions on this site, but I believe some jQuery is doing the following page hang.
The scripts are basically:
<script>
$(document).ready(function () {
$('.contato').hide();
});
function mostrar(c...
I would like to know how to get content from a WEB page where I have several DIVs with the same IDs. One looks like the other, div 1 , it's like a Title, already the Div 2 as if it were the content ...
But the problem that div...
How to disable all options of a combo minus the value selected using JQuery.
As in the image below:
FollowtheHTMLintheimage:HTML<!DOCTYPEhtml><html><body><select><optiondisabledvalue="volvo">Volvo</o...
I have the following date:
2017-12-22 (December 22, 2017);
I would need an increment that would add + 1 month to the current one, returning:
2018-01-22 (January 22, 2018).
How do I do this in jQuery?
When I give the command:
$(window).load(function(){
console.log('Site totalmente carregado!');
});
It works correctly, the message in the console only appears when the window has been fully loaded.
But for example, how do I check if t...
I'm building an application using ajax (jquery) and php, when returning a json by php, jquery only takes the value if I have given an ECHO, if I return the json through the return (I'm using a function in php ) jquery does not catch anything....
I have a input on my form with id="nome" :
<input id="nome" name="nome" type="text" />
I would like the value of this input to be equal to: "jose", "maria" or "joao".
I have the following function to check if th...
I have the following script, which processes the form and updates the list # div by ajax:
<script type="text/javascript">
$(document).ready(function(){
$("#formulario").on("submit", function(e){
e.preventDefault()...
As you know, jQuery is an open-source JavaScript library whose intent is to facilitate the manipulation of DOM elements by abbreviating the code to be used to perform operations and procedures, where often in so-called "pure JavaScript" we would...
I have the following fields:
<label class="control-label">KM</label>
<input class="input-small" style="width: 50px !important;" type="text" name="km" value="">
<label class="control-label" style="width: 75px !important;"...