I'm working on a site that has a navbar and a menu (the height of the two adds 101px) , which scrolls to them, they pin at the top of the screen and float. p>
I want the anchors I set on the page not to be overridden by the menu when clicked...
I am using an email form in PHP with POST method and I use Google ReCaptcha. I need to check in javascript or jQuery, if reCAPTCHA has been marked to only enable the submit button.
The current code:
var checado = false;
jQuery("#recaptcha-...
I have a txt file that contains more than a thousand lines, each line has a number that needs to be validated by a javascript script that I have ready.
I would like some script in php or javascript even read the file in txt, take line by line...
Hello, I have the following array
["lucas", "peter", "john"]
I need to send a request with XMLHttpRequest for each name, then save the response in json of the 3 in an object and call another function, the problem is that I do not know how...
I have these checkboxes on my page
<input type="checkbox" name="dezenas[]" value="01" />
<input type="checkbox" name="dezenas[]" value="02" />
<input type="checkbox" name="dezenas[]" value="03" />
<input type="checkbox" na...
Hello, I'm having trouble storing the value of the day before the comma:
<span id="organizerContainer-date">Novembro 3, 2018</span>
I would like to store this value to do some things. If anyone has done this before could you let...
This is my function that receives an object and uses the attributes of type " function ".
FrameWork.prototype.loop = function (objectLoop) {
objectLoop.draw();
objectLoop.update();
window.requestAnimationFrame(this.loop.bind(this)...
I have a function in jQuery which I do through the .on('change') event, but I also needed that same function to happen on page load, but I do not know how to do this, call two events in a function.
Function code in jQuery...