Questions tagged as 'javascript'

1
answer

Place icon in a SelectMenu of Jquery UI

I would like to place an icon in the selected item of a SelectMenu item. Like this way. I have managed to add the icons in the drop-down, but I can not put it there. The code I used is this: <div class="select-lang">...
asked by 25.01.2016 / 14:03
4
answers

How to hide items from specific users through php sessions?

good day, I am working with sessions in php and I have two difententes users in my db, what I would like to implement is that the user2 the li elements (page1 and page 2) of my menu will be hidden, while user 1 could see all the lists (page1 pag...
asked by 03.05.2016 / 04:36
2
answers

How can I disable or enable a select from another select?

What I would like to do is that when the form is in option "Choose an option" make the other select disabled and that when selecting a different option example: cardio vascular, activate one of the select diagnosis and not e...
asked by 22.08.2016 / 17:33
1
answer

Put value to an input text when you select a radio input

As the title says, I would like that when selecting a value, in this case "European" or "American", it shows a numeric value in the "long", "high" and "wide" fields. I give you the code: var D = document.getElementById("D"); var P =...
asked by 18.05.2018 / 01:03
2
answers

Get all javascript errors

How do I make catch of all errors in the javascript console? I'm wanting to capture every error that plays during the site cycle and execute a function every time it happens. I am using Angular 1.6 . I found that with the window.o...
asked by 10.04.2018 / 14:37
2
answers

What does function ({Something, something More, still More}) {} mean? in Javascript

Watching a tutorial I found an expression like this: function ( { algo, algoMas, todaviaMas } ) { } Doing a bit of research, I found Destructuring in ES6 : The unstructured data, or    destructuring named parameter: "destru...
asked by 22.08.2018 / 23:56
2
answers

Get textarea value by javascript

I have a form that with a button "duplicates" so many times the user wants. <div id="productosTotal"> <div id="producto"> <label>Nombre del producto *</label>...
asked by 05.04.2017 / 22:40
1
answer

Change the value of input type text in php

I have a value assigned to a variable in php and I show it in a type text. I wish that by clicking on a checkbox I can edit and change that value. 1.- If I click and change the value, when submitting with submit, it shows me the change made....
asked by 26.10.2016 / 16:28
1
answer

How to capture the sound intensity of an audio or video tag in HTML5

I would like to know if anyone knows how to capture the sound intensity, or some kind of information that could be provided to me if a video has sound or not at a certain moment. The goal is to have a tag of type <video> in a web...
asked by 20.10.2016 / 12:34
3
answers

Is it possible to know when all the event handlers are finished?

I want to know when all event handlers in an event in JavaScript are finished. Is that possible? Example: <button id='button' ...>Submit</button> <script> ultimo = notify() { alert("Último!"); }; $( '#butto...
asked by 03.01.2016 / 14:55