Questions tagged as 'jquery'

1
answer

How to insert values from a dynamic table into the mysql database

Good, I have a sales form, more or less finished. In that form I have a table that adds dynamic rows extracted from another table in a modal. $('.a').on('click',function(){ var trPrincipal = this.offsetParent.parentElement; //Buscamo...
asked by 25.06.2016 / 09:42
1
answer

Variable reference to object

In the function for the creation of a google chart in javascript I have the variable of a div on which I draw the graphic. The variable in question is containerDiv, which is a string with the id of the div. I would need, instead of drawing...
asked by 22.06.2016 / 16:09
2
answers

help .modal ('show' ') is not a function

good I have problems to show a modal modality all this binen but it does not let me call the modal to show it $('#modal_registrar').modal('show');// asi la estoy llamando pero me marca error $('#modal_registrar').show(); // si lo pongo asi no...
asked by 27.10.2018 / 00:36
1
answer

When inserting number in input, update the other two without having to change input

As I said in the question, I am updating some inputs through what I insert in two of them, the quantity and the unit price. Now I am updating well with AJAX, but you need to change the input to actialize, is there any way to write if you update...
asked by 27.10.2018 / 18:30
1
answer

Problems with scrollTop for anchors in HTML

I'm doing a page which when clicking on an option on the menu, it goes to an anchor of it. There's even good. When I use the following code in jquery for scrolling $('nav a').click(function(e){ e.preventDefault(); //...
asked by 26.10.2018 / 22:27
2
answers

Do not download the file to the browser using OutputStream.Write in ASP.NET WebService C #

I need to download a file located in the App_Data folder of my project, all the permissions are granted, I have the following code to download an .xlsx file by calling a WebService in C #, the result of the process is not error, but it does not...
asked by 29.10.2018 / 22:36
1
answer

auto increase with ajax

I have a voting system that should autoincrement when clicking on a link, basically the structure is as follows: <ul> <li>Uno <a href="#">0</a></li> <li>Dos <a href="#">0</a></li&g...
asked by 25.10.2018 / 09:00
3
answers

How can I avoid reloading my form when I send it to php using ajax?

Hello, how can I avoid reloading the page, when I send a form to php using Ajax. $(document).ready(function(){ $('#btn_login_detalles').click(function(){ var error_nombre=''; var apellido='';...
asked by 28.10.2018 / 18:09
2
answers

Problems when taking parameters of an image loaded from the computer

My page.html is like this: <!DOCTYPE html> <html lang="es"> <head> <link rel="stylesheet" href="css/miestilos.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"> </script...
asked by 20.10.2018 / 13:44
1
answer

Viewing file properties with a data table

I have some objects with two properties, name and tags, that simulate being files. Then I use a data table to display them. The thing is like this: The problem : I have a drawData function that makes me appear the tablar. But when I add ne...
asked by 20.10.2018 / 14:16