Questions tagged as 'jquery'

4
answers

Append jquery table

I currently insert data in the td of the body of my table in this way: <table id="table1"> <thead> <tr> <th>Nombre</th> <th>Apellido</th> </tr><!--aca necesito insertar o...
asked by 16.05.2017 / 15:38
2
answers

Search credit card number in an input or textbox, after this remove it [closed]

I need to validate if in a <input> or <textarea> there is a credit card number, after this remove it or replace it with XXXX for security issues in a chat I am developing. Example:     
asked by 16.05.2017 / 18:20
1
answer

Jquery.Ajax does not work in Chrome, but if it works in Firefox

I am using a method that loads information from a database in a combobox, but what is shown depends on the previous selection in another combobox ... A dynamic combobox. It happens to work perfectly in Mozilla Firefox (v.54.0) but does not...
asked by 16.06.2017 / 17:54
2
answers

Simulate enter jquery

I need to simulate an enter in jquery I have the following code: $('').trigger(jQuery.Event('keypress', { keycode: 13 })); But this is done on an element, with an id or class, I need to generate the enter automatically without needing to re...
asked by 08.06.2017 / 00:50
2
answers

Trim jquery td table

<table id="table"> <thead> <tr> <th>Nombre</th> <th>Apellido</th> <th>Edad</th> </tr> </thead> <tbody> <tr> <td>Juan...
asked by 07.06.2017 / 18:48
1
answer

Error jquery background color

I have the following code, but I change the background color of the body, I think it must be something of the scope, because it does not give me any error. I thought about putting body onLoad='setThemes();' , but it says: setThemes i...
asked by 04.05.2017 / 12:40
2
answers

Operate modal from Jquery

I'm trying to get my modal through Jquery, but it does not work, the idea is that by pressing the "btnmodal" button the modal appears through Jquery. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js">&l...
asked by 29.03.2018 / 04:54
2
answers

Update div every X seconds

I need a function to recharge one every X seconds because the value of the BBDD can change. I have the following, but I do not update the value. What fails me? div: <div id="results">valor a cargar</div> The script: functio...
asked by 30.03.2018 / 21:30
1
answer

Value in particular within an array

I have a dilemma when printing a variable, you see, this is my query in SQL: SELECT MONTH(fecha_del_deposito) AS mes, SUM(importe) as monto FROM pago_cliente And it throws the following: Which happens to query in php: 'cantidadPa...
asked by 27.03.2018 / 20:04
3
answers

How to load correctly Jquery and Bootstrap

Good morning everyone, I'm making a website that uses JQuery and Bootstrap (including some plugins like DateTimePicker). More or less I get it to work but I can not make it clear to me the subject of the loads of the different scripts and styles...
asked by 10.05.2017 / 10:29