Questions tagged as 'jquery'

2
answers

Generate array with table contents with jquery

Hello I'm trying to retrieve the elements of a table and move to a jquery array that will be used in ajax I create the td dynamically: var newRow = $("<tr>"); var cols = ""; cols += '<td class="tdProduct...
asked by 17.04.2016 / 01:00
2
answers

Change background-position with Javascript

Well, first of all I apologize, but this question is a bit difficult to express myself. What I want to know is if there is any code in javascript that makes the background-position move very fast, very slowly, and then stops. In other words,...
asked by 17.04.2016 / 22:05
1
answer

Click on a centered image and drag it to the left link or right link?

This would be the image centered in the middle of the page ... on the right side a link and on the left another link ... the user would have to click on that image and drag to enter the links ...     
asked by 14.04.2016 / 19:48
3
answers

Second button replacing content of the first

With this code below when I click the mat button it brings me the data in a table. I would like that by clicking the sp button replace the contents of the table with another. Code: <button id="mat" class="button"><...
asked by 14.04.2016 / 16:30
1
answer

Hide DIV only in IE8

I have a small question, how do I hide a div (.laser) only in IE8? Preferably I would like to use only CSS or also JS     
asked by 15.04.2016 / 15:35
2
answers

How do I get the value of an attribute in JQuery?

It is as follows: I need to make when a person clicks on an image, the 'display' attribute of an 'ul' is changed to block, and then, when that person clicks again, the value of the attribute is' none '. I wanted to get the value of the 'display'...
asked by 06.08.2016 / 21:05
2
answers

Call function after choosing date

Good morning, I have an input text with a datepicker. The input has a validator function that changes the color of the input as the text is right or wrong. But in this case as I do not write directly in the input and just click on the date...
asked by 01.08.2016 / 13:37
1
answer

Disable button while the form is not valid

I need to disable% save% when all fields have been validated, the following code button is always being disabled, but would you like to add a condition to change only if you have validated on the client layer? $('input[type=submit]').c...
asked by 04.04.2016 / 17:14
1
answer

Filter items in one list and show in another

I need to filter elements from a list and show them in a result list. I made the following code: var ele = []; $('.search').keyup(function(event) { var val = $(this).val().toUpperCase(); $('.title').each(...
asked by 01.04.2016 / 06:06
1
answer

Problems implementing the jQueryUI Accordion feature

And I did a quick search on this resource and found this page; link Then I created a folder with the name of GUJ and within this folder I put three files; One of JavaScript with the name of jquery-2.2.2.min.js and the other one with t...
asked by 06.04.2016 / 19:27