Questions tagged as 'jquery'

1
answer

Checkbox with DataTable in table with Paging

I'm doing a table with DataTable and paging, but I need it to have a checkbox on each line. The problem is that when I have to select all, it only selects the first page, the other ones do not take effect. Follow Jquery: $('#selectAll').cha...
asked by 18.09.2014 / 20:01
1
answer

How do I apply slideDown () along with load ()

I have a page where it displays dynamic contents using load() . How do I apply the slideDown() effect when document is displayed on the page? My code looks like this: index.php <div class="col-md-3"> <div class="pan...
asked by 19.09.2014 / 00:17
1
answer

Popular table with PHP and JSON

I'm developing a system that has a customer table, this table was not developed by me, so I'm having some problems to popular. Visually the table works perfectly, but when I try to populate with database records, they do not appear. I have...
asked by 15.10.2014 / 21:54
1
answer

Change onclick content according to page size

I'm doing a project that some images have tooltip, but it only appears with the click. The problem is that the mobile version is not legal, so I need to open a new page with the contents of this tooltip. Is there any way to change onclick conten...
asked by 14.08.2014 / 20:30
1
answer

Checklistbox when loaded dynamically does not mount the check's

When it was manual, the check's (check boxes) were all ok. As I now mounted via jquery and controller, it no longer mounts the check's, it stays as a listbox without being able to make selection. See below my code. My jquery: function Preenche...
asked by 26.08.2014 / 18:12
2
answers

Why this example of w3s jquery does not work inside web-inf?

Well, I have a project in maven, and in my folder I have this structure.    src > main > webapp > WEB-INF > jsp > index > index.jsp, demo_test.txt This code is inside my web-inf inside of my index.jsp the two files are...
asked by 07.08.2014 / 04:15
1
answer

Verify page and assign DIV

I have 10 pages, one part of the layout is the same in 9 of them, so I'll make a include to spare my job of repeating this 9 times. What happens is that I would like to use this include on every page, and when that part of the l...
asked by 07.08.2014 / 16:48
2
answers

Add thousandths in the jquery counter

I'm having a Javascript code that does a Days / Hours / Minutes / Seconds counter. But I need it also count the thousandths, but I have little knowledge in javascript and I do not know how to increase this option. The code that counts up is as...
asked by 20.08.2014 / 08:51
1
answer

Compare the distances of the top of an element with the following next ()

I'm getting the following error in the console:    Uncaught TypeError: Can not read property 'top' of undefined He is saying that the error occurs on the following line: alturaproximo = $(this).next().offset().top; Follow the code:...
asked by 18.08.2014 / 18:36
1
answer

How to put time and date in input fields with jQuery and jQuery UI?

How do you include jQuery UI style files and JavaScript files so that the date and time inputs perfectly display the fields in pt_BR? Do I need to change the attributes of the libraries?     
asked by 21.08.2014 / 17:54