Questions tagged as 'jquery'

1
answer

Get form variables when submit and pass them to a php

I would like to know how to get the input values of a form. I show the current values extracted from the database by means of an echo and the intention is to be able to change them. The code (editproyectos.php) would be:      <table class...
asked by 06.07.2018 / 15:21
1
answer

Replace Eval function

I have to replace in a JEE application (I did not create it myself) all occurrences of the eval() function. The reason is given after carrying out an analysis of the code through a solution for measuring the quality and security of the so...
asked by 12.07.2018 / 10:04
1
answer

Problem when executing a click funtion

ok guys I have the following problem I have a button that clicked it shows a div with certain information and clicked it for the second time hidden that div, all good but what I need is that the div is hidden to me and click on any side of the p...
asked by 11.07.2018 / 20:08
1
answer

How to put an id to a tr if it does not have an id?

(I'm not sure what title to put in the question if someone has a better one please let me know) Good afternoon what I want to do is put a different id to all the tr that do not have one. E could insert ID to the tr of the table but it puts...
asked by 12.07.2018 / 19:34
1
answer

How to resolve the compatibility of web browsers so that my page displays all styles in all browsers?

What happens is that I have my page seen with bootstrap, CSS, HTML5 and jquery. What happens is that when I visualize my page in google chrome it looks perfect but I see it in IE and the styles do not look the way they look in crhome, also some...
asked by 11.06.2018 / 19:22
1
answer

Maintain hover effect when selected

I have a problem to keep the effect hover , I look for when clicking that the image maintains the hover effect, and if I select the other image the effect of the first image is removed, and the second image maintains its hover effect . Tha...
asked by 06.06.2018 / 18:54
1
answer

How to clone a single element of a class in jquery?

Hello! What happens is that I have the following html code that is to create dynamic objects: <!doctype html> <html lang="es-mx"> <head> <style> .opcion{ width: 100%;...
asked by 22.06.2018 / 20:25
4
answers

I can not get registration id in a html table with javascript

I have the following code document.querySelector("#resultado").addEventListener("click", function(event){ var id= $(this).find("tr").html(); alert(id); }, false); }); but I can not get t...
asked by 15.05.2018 / 20:38
1
answer

Keydown event is lost when opening modal

I have a slide created with the library blueimp.js On the slide I need to read when the user presses the B or C key. So far so good, the detail is that when you open and close a modal, you lose the reading of the keydown event and it is only act...
asked by 14.05.2018 / 20:45
1
answer

New or previous value in script according to input

I need that when "nuevo_saldo" equals zero: the value of "restan" is also zero. But ... if it were not like that, keep its initial value . EDITED: Thanks to a timely response (@alanfcm) an advance was achieved in this problem...
asked by 17.05.2018 / 17:28