Questions tagged as 'jquery'

1
answer

Download image from the name saved in the Codeigniter ajax database?

Currently with a plugin upload the image to my server, with this plugin (Dropzone.js) carturo the path of this file. I do all this to avoid having to upload the tax file to the database and I only keep the name. Example upload file capture...
asked by 17.04.2017 / 04:13
1
answer

Does not redirect to the expected view with jQuery Validation Plugin

I am using jQuery Validation Plugin to validate my login information, the problem is when in the url there is a subdomain, double sent the form or something like that. The point is that instead of loading the view that I hope does no...
asked by 24.04.2017 / 18:12
1
answer

Subtract varlores from one array with the last value of another array

I need to add to this subtraction tamaño -= parseInt(distanciaCentroUltimo[n]); the last element of otroArray that is 970 and divide it by 2 NOTE : the array that is named anotherArray can grow so that 970 will not always be the l...
asked by 23.04.2017 / 16:22
1
answer

Pass value from one to another for

I have these 2 cycles for , I need to pass the value of the variable disxd of the first cycle for to the variable disxd of the second < em> cycle for var distancia, aux = 0; arrText2.splice(0, 1);...
asked by 21.04.2017 / 19:46
2
answers

Variable inside button with dynamic onclick?

var variable = $.parseJSON(variable); $('#tabla_servicios').append('<tr><td>'+variable.dato1+'</td><td>'+variable.dato2+'</td><td>'+variable.dato3+'</td><td><button onclick="EliminaServicio()" c...
asked by 20.04.2017 / 21:40
3
answers

Delete blank space inside a tag p

I have the following problem, I am uploading a paragraph to a view in html . The problem I have, is that I'm placing blank space within the p tag of html . Which when reading the content of that paragraph, with javascript to replac...
asked by 26.04.2017 / 17:23
1
answer

do a jquery in a php to make a sentence without reloading page

I am creating a shopping cart but I have a problem, if I have several products chosen, then, I want that when I click on the button to delete some product because the price of the eliminated product is subtracted from the total amount, I have be...
asked by 10.04.2017 / 15:17
1
answer

Define a directory for input type file

I have a web application that generates a txt file, which is hosted in a default folder on the server, and sends it through PHPmailer automatically. For reasons of having a second option, I added the functionality of sending it manually using a...
asked by 13.04.2017 / 23:22
2
answers

php error with the server

I have this connection conexion.php <?php # Conexion con la Base de Datos $userdb = 'administrador'; $passworddb = '123456789'; $dbhost= 'dbserver'; $dbname = 'sk_modular_divisiones'; ?> I have this query to fill a...
asked by 10.04.2017 / 20:06
2
answers

Disable selected element of select with Jquery

Good afternoon. I have a select list with several options. I would like that when you click on an item in the list, the selected item is disabled until you click on another item in the list. Thank you very much in advance. I attach part of th...
asked by 08.04.2017 / 13:50