Questions tagged as 'jquery'

2
answers

Use jQuery to 'click' on a li / ul element

I have a list which I want to get the id of each element a this list is filled dynamically by ajax. I use jQuery 2.1.4 and I've already tried it in Firefox and Chrome This is my code: jQ from ajax: $(document).ready(fu...
asked by 04.07.2017 / 16:25
2
answers

Open dialog jquery based on a list of users

I'm doing a modal window with jquery dialog to update users, but only the dialog of the first user I have in the list opens. What I want is to open the dialog to fill in the fields of the form that I have inside, with the data of each individ...
asked by 01.04.2016 / 23:33
2
answers

Null value in data obtained from JSON

I have a script that recovers the information of a JSON as I can put so that if it has nothing the JSON does not put anything in the variable items . This is my code: <script type="text/javascript"> $(function () {...
asked by 21.12.2015 / 21:58
1
answer

Conflict mootools and JQuery, some other way to make them work together differently to using JQuery.noConflict ()?

I was trying to include a popup window made using the Motools library in software that uses JQuery. The thing is, the other software has 1 million lines that include JQuery and it would be better not to have to change those lines everywhere, but...
asked by 02.08.2016 / 23:08
1
answer

Put contenteditable to all TD except the last ones

I have a table of 5 columns, with information, the last column is of actions (Edit, delete, etc). I'm trying to click on an edit icon to enable text editing of all the TDs in the same row except for the last one, since it is a cell of tools, how...
asked by 25.09.2018 / 19:02
2
answers

Check full fields jquery

I am trying to do a 2 input text check and when the keyup is executed, even if only the input name is filled, it enters the else and the IF is not fulfilled. JS $( document ).ready(function() { $("#formulario input").keyup(function() {...
asked by 01.10.2018 / 17:09
1
answer

Delete an item created dynamically with jquery

I have a form and I want to delete the elements created in each time a new element is added dynamically using jQuery Validation Plugin v1.16 // only for demo purposes $.validator.setDefaults({ submitHandler: function() { /...
asked by 30.09.2018 / 05:15
2
answers

I need the images to have different div

I'm trying to get the img tags to have different ids. When uploading images that both have different ids but what happens is that both have the same id. if (input.files) { var files = input.files; var filesAmount = input.fil...
asked by 26.03.2018 / 20:24
1
answer

Create variables in Razor and then manipulate them in Jquery?

Is it possible to do something like this? @{var list = [1,2,3,4,5]; } I do not boot error but then when I want to use that variable in Jquery, it does not appear. What is the correct way to do it?     
asked by 14.12.2017 / 22:35
2
answers

Problem with FullScreen image in Mozilla

I have my function to enlarge a full-screen image, which works for me in Google Chrome but not in other browsers. I have the following code: $("#Button1").click(function (ev) { launchFullScreen(document.getElementById('image...
asked by 06.03.2016 / 22:18