Questions tagged as 'javascript'

1
answer

Show hidden items in HTML With js

Cordial Greeting. What I want to do is the following: I have the following form: <div class="field"> <label for="name">Codigo Coordinador<span class="required">*</span></label> <div class="input...
asked by 01.10.2018 / 18:26
1
answer

Why do I create the properties in the wrong scope between parent and child controllers?

Good morning. The case is this, I have this html view: <!-- VISTA HOME/INDEX --> <div ng-controller="generalView" class="index"> <!-- as vm --> <div class="container-fluid mainContainer"> <div clas...
asked by 29.09.2016 / 16:11
2
answers

Avoid double submitting a form

I have a form which I send data through a post but sometimes the server takes time to respond and if you give it again in the save button it duplicates the information as I do so that the save button is disabled when it is already has once click...
asked by 25.06.2018 / 17:44
1
answer

Stop Morphext animation when you finish the sentences

I'm trying some animations with Morphext and the truth that I liked a lot, for now I want to stop the publication to reach the last word or phrase that is within id="js-rotating" but I could not ... .. I translated the documenta...
asked by 19.06.2018 / 04:13
2
answers

Default date in an input

I have this snippet of code that shows a datepicker with the use of Jquery $(function () { $('#orderDate').datepicker({ dateFormat: 'dd-mm-yy' }) }) $("#orderDate").datepicker().datepicker("setD...
asked by 24.05.2017 / 11:39
3
answers

document.querySelect arguments

I have the following sample code: ul = document.getElementById("list"); li = document.querySelector("#list li"); cuerpo = document.body; ul.addEventListener("click", function(event) { console.log("Clicked on ul"); }); li.addE...
asked by 18.05.2017 / 18:30
2
answers

Onclick Show text

Hi, I'm doing an interactive piano which reproduces the sounds with an onclick, I would like to know how I can show the notes that the user is clicking on in a text field with javascript. This is the function with which I play the sounds: $...
asked by 23.05.2017 / 10:30
1
answer

Problems with checkbox and javascript

Good morning Dear community, I am working on a list of tasks and I am having problems to rescue the value of a checkbox that is created dynamically by a button element, so far I have the following: <!DOCTYPE html> <html lang="en">...
asked by 29.06.2018 / 17:34
4
answers

What is the difference between selecting by ID or ClassName?

Why can I change properties of the object when I select it with getElementById , whereas if I select it with getElementByClassName it marks me undefined? What is the theory behind this? Tests on the Google Chrome console...
asked by 12.07.2018 / 17:46
2
answers

How to build a URL relative to the port but the same hostname?

I have made a front application with angularjs and I start it with Grunt. On the other hand I have the Back part that I raise it with a Tomcat v8.5 Server. To make the calls to back I use $ http of AngularJS using the routes that have provide...
asked by 16.02.2017 / 12:52