Questions tagged as 'javascript'

2
answers

Fill a html table from Javascript dynamically

I have this div in my HTML:        Changes made:    and I'm going through a Javascript object, and I want to add some rows with the content of the Object, which is dynamic, the code I have is the following: function pedirDatosTexto(...
asked by 28.04.2018 / 12:59
2
answers

Mouseover and mouseout event in JavaScript

I'm doing a small test page in html, js, css and I have some pictures that when I pass the mouse I want the button to be added to erase each image and when it is not on the image disappears, I managed to make the event clear with mouseover and m...
asked by 28.04.2018 / 00:05
1
answer

How do I fix footer elements?

I'm trying to put the social media bar in the footer but it does not have the desired effect, like the bar above the example. It remains as pigeonholed in a box. If I delete <li class="social_icons clearfix"> it works, but the eleme...
asked by 18.01.2018 / 14:11
4
answers

function document.getElementsByTagName does not work

I have the following code in html and it is supposed that I should click on the first paragraph to execute the alert of the javascript file but nothing happens with any browser, I have seen that many people have this problem, why is it? the h...
asked by 04.11.2017 / 04:10
1
answer

MySQL REST API Error

Good morning, I have designed an API Rest in NodeJS. It works correctly, but when I left it up for more than 24 hours it gives me a connection error in MySQL DB. events.js:160 throw er; // Unhandled 'error' event ^ Error: Co...
asked by 07.11.2017 / 09:44
2
answers

Play sound when changing content in a table

I'm trying to create a function that will play a sound when some element of a table changes, I was trying it in the following way: $(document).ready(function(){ $("#hor-zebra").change(function(){ document.getElementById('bflat').play()...
asked by 07.11.2017 / 13:26
1
answer

Repeat javascript cycle

Good evening, I have this view (the image) which is part of an invoice, precisely this is the detail of the invoice, and I have in this detail a javascript function so that while I write the name of the product I search the product in the databa...
asked by 06.11.2017 / 04:03
1
answer

Show an alert before the refresh action?

What I'm looking for is the following: At the moment when the action is triggered to refresh the page, a message like this appears before me: swal({ title: "Se perderan los datos", text: "¿Desea refresca...
asked by 23.10.2017 / 17:08
1
answer

Progress Bar Dynamic Bootstrap MySQL

Good day forum, a help to generate a ProgressBar Dinámico with data extracted from a query mysql . Progress Bar <?php foreach($clientes as $cliente): $id = $cliente->identificador;...
asked by 22.12.2017 / 19:21
2
answers

Browse div with class and show only the selected item

I want to show and hide a div, it is a list that has a class are 4 div, with the same class and the button that should show also has the same class, the problem I have is that with the function that I have it shows me all the div or just the one...
asked by 29.12.2017 / 00:04