Questions tagged as 'jquery'

2
answers

How to sort animations with jQuery?

I have this code and wanted to sort the animations, so that the header only starts after the .logo_1 ends. I tried to use duration but it did not work, is there any other way I can sort animations? $(document).ready(function(e) {...
asked by 09.04.2014 / 04:50
2
answers

How to set printing options via javascript?

Is it possible? I would for example remove the default margin and remove header and footer. Now open the print window with these options set.     
asked by 03.06.2014 / 16:14
2
answers

How to perform an action when reaching certain height of the scroll?

I have a function in which every time I give scroll it calls a certain function, only I want to call it only once $(window).on('scroll', function(e){ //aparece segundo menu if($(this).scrollTop() >= navHeight + section...
asked by 02.01.2015 / 20:02
2
answers

Is there a jQuery selector that takes the html of its own tag and also the content?

Example: <div id="quadro" style="float:left"> <h1>Quadro de horários</h1> </div> If I use $("#quadro").html() I only get h1, but I want the html of h1 and the div itself. I need something dynam...
asked by 12.08.2015 / 15:47
3
answers

How to access a selector inside another in jquery?

I'm trying to access the div's of the specific '.contentParagraph' class of each of the '.content' divs, so that the events of one div do not interfere with the event of the other, link If you look, the paragraph in the first div '.conten...
asked by 31.08.2014 / 01:07
2
answers

Implement this

There are several divs with class .categorias and I need to display the .nav-a element only in the div category that I have with the mouse on it at the moment. What's happening now is that when I hover over any of the% d and...
asked by 10.07.2014 / 19:16
4
answers

How do I call a function by pressing Enter on an input

I'm creating a chat for a site and I need the user to just hit enter and the message appears in chat , this function usually works with a field textarea but with input no. HTML <form action="" method="post" id="fr...
asked by 04.02.2014 / 16:18
5
answers

How do I make the textarea automatically increase to a certain limit?

I'd like to know how best to make textarea increase automatically to the limit of 500px when the user enters content.    Do not use another library besides Jquery . CSS: textearea{ resize: none; /* impede que o...
asked by 07.04.2014 / 05:45
1
answer

Javascript documentation documentation standard and automatic generation of documentation in IDEs and exportable

Java has Javadoc, PHP has PHPDoc and other languages, has documentation standards. Which standard is most commonly used to document javascript , already integrated to IDEs, so that when using functions, it auto-complete the c...
asked by 11.02.2014 / 19:06
3
answers

How to know if you are doing resize in width or height?

Is there any way to see if the resize() of the window is occurring in width or is occurring at the height?     
asked by 31.01.2014 / 19:17