Questions tagged as 'jquery'

1
answer

Question about animate with jQuery

Suppose I have a div with visibility hidden, how can I do that when I click on a button this div becomes visibility: visible and seconds later it gets hidden again? I could not even use visibility with animate $("button").click(function(){...
asked by 06.09.2015 / 19:28
1
answer

How to limit the minimum screen size?

I'm working with Bootstrap. What I want is for the user to be able to reduce the screen to 700px and from the moment it has 700px the screen does not decrease any more. It can be via Jquery, JavaScript, in JAVA itself or just by CSS, any w...
asked by 21.08.2015 / 19:09
1
answer

Create button play / pause

I'd like to know how I can create a youtube style button to play and pause on top of the video. I would like that when you do not click on it it will stop with the play and click on it it starts the video. Code: <video class="video" id="...
asked by 27.08.2015 / 12:27
1
answer

Toggle css class in a nav toggle, using Jquery

I am making a menu with a toggle using Jquery . The menu is working perfectly. I am using an Font Awesome class to show the icon on the button to enable toggle . I want to change the class fa-chevron-circle-down to fa-chevron-...
asked by 14.10.2015 / 21:38
1
answer

Create a Read More with jQuery

Hello, I have a problem. I have the following code in jsfiddle: link for creating a "read more" button with jQuery. I do not know where it is wrong, but when the text is too large, it does not show everything by clicking "Read More". Hav...
asked by 23.10.2015 / 05:59
4
answers

Fix div at the bottom of the page

I would like to know how I leave a <div> fixed at the bottom of the page, like I made it down with margin-top , but only in Firefox and one thing when I open Chrome a <div> is not in the footer.    ...
asked by 05.07.2015 / 19:21
1
answer

pass variables from AJAX to PHP

I'm trying to pass values through two variables in AJAX to a PHP file, but it's not working. if I put date: {idUsuario: "5", idChoose: "1",} sure. What is wrong? $(document).ready(function(){ $("#botao").click(function(){ var u...
asked by 24.10.2015 / 23:45
2
answers

problems creating event listeners dynamically

link JQUERY / Javascript verificaCamposRepetidos(".teste", array1); verificaCamposRepetidos(".teste1", array2); HTML: <p id="parte1"> <span>VALORES de 1 a 3</span><BR/> <input type="text" class="tes...
asked by 28.10.2015 / 01:18
1
answer

What is the purpose of Deferred Object in jQuery? [duplicate]

I'm studying some jQuery and found this interestingly. The problem is that I do not quite understand. What is the purpose of Deferred Object in jQuery? How can this become useful for jQuery?     
asked by 26.10.2015 / 17:34
1
answer

First select2 value is not shown when using i18next

I'm doing internationalization with lib i18next, everything happens right, it translates puts the values inside the select2 , however the first value is not shown in any way, even though I open select2 and clicking on the first item...
asked by 07.10.2015 / 13:15