Questions tagged as 'javascript'

1
answer

like traversing an array and replacing or deleting elements in javascript

A question how can I go through this array and delete all the commas (,) that I find in the value, I want to send that array from ajax to php and then send it to the database and I want to eliminate the comma (,). Thank you very much for the ans...
asked by 10.11.2018 / 00:21
1
answer

How can I click on an image with a specific Zindex?

I have a problem I need to detect the event click on an image with a specific index, before clicking the id of the image I want to click, but it prevents me from detecting the event click on the image I want because there are other images with z...
asked by 24.10.2018 / 18:02
1
answer

Retrieve integer from localStorage JS in Chrome

I am saving a localStorage in the following way and I paint it in <p> ; var punt1=document.getElementById("puntJ1"); var punt2=document.getElementById("puntJ2"); function pintarPuntosJugadores(){ if(localStorage.getItem("ju...
asked by 24.10.2018 / 12:00
2
answers

Modify elements of father page iframe

Hello friends, I have a question, I have the following html statement <iframe class="buscador.html"></iframe> This loads me searcher.html , what I want to do is that by pressing a botón of searcher.html I...
asked by 24.10.2018 / 18:59
2
answers

How to get a POST PUT DELETE in express with postman

I leave the code in js that I use I would need POST PUT AND DELETE! Thanks in advance. My problem is that I do not know how to take the data and work with them. I need to make a get of only computers. Add products with post. To be able to...
asked by 24.10.2018 / 17:53
1
answer

Highlight text in the cell of an html table when clicking

The problem is that I have a html dynamic table, and I want to put in bold the text of a specific cell when I click on the row. try using jQuery, but it's still a bit complicated for me Does anyone know how you could do that? Excuse me if it'...
asked by 24.10.2018 / 18:05
1
answer

Compare button pressed with another in javascript

first of all I am new in javascript and in this forum. I appreciate if you can help me in the following: I have a website with 9 buttons and 9 images. The idea is to press a button, a sound is played (I already have it working). What I need is t...
asked by 12.10.2018 / 19:01
2
answers

How to pass a Javascript data to an input?

I have this timer and I must pass the result of the time to an input and in this code of the chronometer when I start it appears 18 at the beginning as an arrangement that example 18: 00: 00: 555 <script language="JavaScript"> <!-- va...
asked by 11.10.2018 / 22:23
1
answer

Dynamic table with edit and delete dynamics

I have in the forms of payment of my invoice form a table for checks that appears when clicking on add. More specifically, a check row appears to enter all the data. On the right you have an action button to confirm. The idea is that when con...
asked by 15.10.2018 / 18:08
1
answer

Leave the form option selected

With .php and javascript how could I leave selected the option that the user selected in a form, after giving the input button to process the fields? You get the value you selected, but I do not know how to get to the option and setAttribute...
asked by 14.10.2018 / 20:26