Questions tagged as 'jquery'

1
answer

Scroll with animate does not work

The code below in jQuery runs perfectly fine in Google Chrome and Opera. The problem is that it does not work in IE and Firefox, before it worked. // Jquery document... $(document).ready(function() { $('a[href^="#"]').click(function (event...
asked by 21.04.2015 / 02:35
1
answer

Looping jquery setInterval

I'm making a slider, and I need it to start again when I see the images, but I can not. Could someone help? JS $(function(){ // Buttons Hover Effect buttonsHover(); function buttonsHover(){ var buttons = $...
asked by 24.11.2015 / 23:41
1
answer

Problem with Spring MVC + javascript

I'm having an issue with Spring MVC and jQuery. I have a jsp with a 'form' and I needed to do a test where when I click on a button, jquery clears the texts of some "input type = 'Text'". I even managed to test, but every time I click the...
asked by 30.03.2015 / 16:15
1
answer

Tag get size of another TAG

I wonder if there is something in the CSS, or JS that makes a TAG that takes up space, make the 'parent' TAG fit the size of the 'daughter' TAG. Ex: <iframe> <body>o Body possuí um tamanho que varia de acordo com o conteúdo ex 1...
asked by 03.04.2015 / 20:24
1
answer

How to do an autocomplete with ajax?

I'm trying to implement an autocomplete with ajax, where I search the database and show the options in the input, but I can not identify where I am wrong. Follow the code: <div class="row troca"> <div class="s...
asked by 13.04.2015 / 20:06
1
answer

Window.onbeforeunload in FireFOX

When using "window.onbeforeunload" in firefox, it returns only a generic message as the image below: IsthereanywayIcancustomizethismessageina"modal" in firefox?     
asked by 24.04.2015 / 23:27
2
answers

How to send array files via ajax?

Well I have a script that inserts the posts in the database now I am trying to upload images together with the post I am trying to send problems with array of input file to the file where I'll handle the upload how can I do t...
asked by 03.03.2015 / 22:39
2
answers

Select and dynamic div

I wanted to do a sequence of select dynamic, for example: 1º - Seleciona a Categoria (Veiculos); 2º - Seleciona a SubCategoria (Carros); 3º - Seleciona a Marca (do carro); 4º - Seleciona o Modelo (da marca); 5º - Seleciona o Ano (do mod...
asked by 04.03.2015 / 22:56
1
answer

Load data while scrolling the page with jQuery

I need help completing a code I'm developing. How can I do it, so that when the user enters the page the last 8 posts appear, and when the user scrolls, load the posts, within a loop, and at the end show the message "No there's nothing else h...
asked by 07.03.2015 / 02:50
2
answers

Block Control + V in dynamically generated TextBox fields

I have a GridView where I have several TextBox that are generated according to their total rows. I would like to block Control+V in all TextBox . I use Jquery 1.4 , and so I read the on method curren...
asked by 29.01.2015 / 13:51