Questions tagged as 'jquery'

1
answer

How to get a processed pdf on the server and display it in a browser window without downloading the file

Currently I have a pdf that has several sheets in a database stored path, and what I do is get a new pdf with a file from the server file and what I need is to show that pdf in a new window without needing to download the file, what I get now is...
asked by 24.01.2018 / 23:43
1
answer

Thousands separators

I have the following structure. function agregarDetalle(idarticulo,nombre) { var cantidad=1; var precio_compra=1; var precio_venta=1; if (idarticulo!="") { var subtotal=cantidad*precio_compra; var fila='&l...
asked by 03.02.2018 / 17:52
3
answers

Load different files with .load ()

What I want to achieve is by js - jquery and / or ajax generate a switch similar to PHP using buttons in <nav . That is: $(document).ready(function(){ $(".click").click(function(){...
asked by 03.02.2018 / 02:28
2
answers

Send an image with Ajax and Jquery in MVC c #

I am working in MVC and I want to send an image through Ajax with Jquery, I have been able to send text data but until now I do not know how to send the image, because when I put it to see what data it sent me it comes out as null This is the...
asked by 16.04.2018 / 04:08
1
answer

How to make the last "click" on an option that is in a for ()?

The variable ${window.nombre} is a global variable that contains the id of a magazine, but it is not selected when I click the button of the magazine, it always brings me to the last value of select . $.ajax({ url:'MODEL/...
asked by 11.01.2018 / 06:18
2
answers

Problem with background slideshow JQUERY

Hello good day I have a problem with the installation of this plugin. Here is the tutorial I'm using: vegas And that's how I got it: $(document).ready(function() { var imagecollection = [{ src: 'https://i.stack.imgur.co...
asked by 15.03.2018 / 15:34
1
answer

Jquery how to take the text of a paragraph?

Jquery how to take the text of a paragraph that does not have id when there are several | in the document. example: <p> este es el texto </p> <p> este es el 2º texto</p> var texto=$('p').text(); $("#muestra").append(te...
asked by 13.01.2018 / 11:21
1
answer

How to fill select with javascript php and jquery?

I would like you to help me with the doubt I have <head> <meta charset = "UTF-8"> <title>Formulario de registro</title> <link rel="stylesheet" href="../css/reg.css"> <script src="../js/llenar.js...
asked by 28.12.2017 / 19:42
1
answer

How to capture click on a map marker

Good, how can I do to capture the click on a marker in maps? As you can see I did a test (several) but it is not correct. $(document).ready(function(){ //JS para trabajar con el mapa en el apartado de gimnasios. function localizacion(posic...
asked by 17.01.2018 / 21:13
1
answer

Avoid page refresh when pressing buttons

Greetings, I'm looking for a way to avoid the refresh that my page makes when adding an element by pressing a button, either adding, subtracting or deleting an element. I would like you to stay in the same place and do not refresh the page since...
asked by 23.01.2018 / 03:54