Questions tagged as 'jquery'

2
answers

Open new window with action inside li

This menu works very well, it opens the pages within the same window, but it does not let me open in a new window. I have already tried it in several ways but nothing but I can not open a new window. This is my code: <meta http-equiv=...
asked by 27.08.2016 / 18:50
1
answer

get the objects that are repeated in an array of JSON objects with javascript (JQuery)

I give as an example the following array of objects in JSON: [{"id":"aaa","uns":"123"},{"id":"bbb","uns":"023"},{"id":"aaa","uns":"123"},{"id":"ccc","uns":"765"},{"id":"ddd","uns":"256"}]. I would like to obtain an array with the repeated...
asked by 06.06.2017 / 10:46
1
answer

Destroy modal bootstrap 3

I have not found a way to destroy the modal, currently I only hide them, which means that I have to manually clean the fields of the modal, I have tried the following without results: $('#Modal').modal('hide'); $('#Modal').removeData(); $('#Mo...
asked by 17.05.2017 / 15:35
3
answers

Remove a text at the end of each paragraph - jQuery

I want to remove a text at the end of each paragraph. Dispongo del 1ero boton: anadir (añade un texto al final de cada parrafo) --> OK Dispongo del 2ndo boton: quitar (quita el texto al final de cada parrafo) --> ¿? What would be the...
asked by 09.05.2017 / 15:50
2
answers

Data step of a multi-select in the selected order

I have a% multiple% co with Chosen and I need to pass the data on how they have been selected; but the moment I pass them, it passes them to me in the way they are sorted in <select> . For example, I select products 2, Cookies,...
asked by 20.03.2017 / 05:24
2
answers

Get the value Jquery of button with same id = 'remove'

Good day friends I have a problem, I have a foreach where I printed a botton with id="remove" with different value, I would like to press the button to send the value of that button and then process it with an ajax request and send that data per...
asked by 30.03.2018 / 22:19
2
answers

How to verify if value exists using Jquery and if so, avoid sending the record?

I got some JQuery codes to verify if any value ( cedula in this case) exists in the database. The system works well, it shows when the card value exists or not, I would like now to prevent the form from being sent, because although it says t...
asked by 25.01.2017 / 23:55
2
answers

Refresh Without Reload Page

I am using DataTable which I have put some buttons that are not own DataTable but buttons of BootStrap. The question is: How to reload / update that table or delete that row from the table when I press the delete button without having to use a w...
asked by 04.01.2017 / 16:14
1
answer

JQuery - How to know how many elements are in a JSON file

I have my "pck.json" { "Datos": [ { "Nombre":"Alekz" }, { "Nombre":"Andrea" }, { "Nombre":"Janny" }, { "Nombre":"Haytham" }...
asked by 04.08.2016 / 16:32
2
answers

Save value of drop-down select in php

I have a problem with a select (type combo or dropdown), there I load with php a series of categories, the issue is that by an error of armed of the original base since the categories can not be more than 20/30 , they are always called by their...
asked by 20.10.2016 / 16:50