Questions tagged as 'jquery'

2
answers

addClass to an element at the top of the hierarchy

Here's a demonstration of what I'm trying to do .. HTML <div id="conteudo"> <div id="inner" class="move"> <div class="col-md-10"><a class="botao" href="#">botao</a></div> <div class=...
asked by 14.02.2015 / 20:11
4
answers

Go to the first option after clicking the button

I have the following HTML: <select class="estados" name="estado"> <option class="op1" value="">1</option> <option class="op2" value="">1</option> <option class="op3" value="">1</option> <...
asked by 28.01.2015 / 12:25
3
answers

Call a preloader before sending contact

I have the following form and its validations. How would I do to call a gif (preloader) for the form at the moment the user clicks to send. It should disappear when the ajax is finished. function solucoesForm() { if ($.trim($('#solu...
asked by 23.04.2015 / 07:15
1
answer

Error in serialize jquery

var Dados = {}; Dados.email = jQuery("#email").val(); Dados.nome= jQuery("#nome").val(); var urlparams = Dados.serialize(); My console returns Data.serialize is not a function have any errors in the code?     
asked by 25.09.2018 / 22:22
1
answer

Put JS in only one div

My question is as follows, I have a div that I need to have a less updated version of js . My page has Bootstrap 4.1 and I need to run jquery 2.2.3 in the div where the most up-to-date (3.2.1) causes the content to blink and doe...
asked by 17.09.2018 / 17:04
1
answer

Fixed Scroll in the DIV Jquery footer

Hello, I have a chat web app, it checks every x seconds of new messages, I need to go through these checks, which is via ajax, the scrool of Div #result automatically descends, p> $('html, body').animate({scrollTop:$('#result').offse...
asked by 07.06.2017 / 23:07
4
answers

jQuery Hover does not work

I have <button> on the page that after an action receives a new class, in this new class I need to hover the text to change, but it does not work, the new class does not seem to be recognized, can someone please help me? After an...
asked by 29.06.2017 / 18:03
3
answers

Error getting element by class (but with ID)

I'm trying to get a video element through the CLASS, (which sounds silly to me), But I'm not getting it, see my example: <script src="jquery-3.2.1.js"></script> <video id="Video1" class="video-stream" src="https://www.htm...
asked by 11.05.2017 / 08:59
3
answers

Click from UL in A

I have the following structure: <div class="submenu"> <ul> <li> <div class="btn-submenu btn-submenu-xstore"></div> <a href="/plataforma-de-ecommerce">xStore - Plataforma de E-commerce<...
asked by 13.06.2017 / 15:09
3
answers

show ("show") does not work in firefox

show("show") is not working in firefox. This same code works in chrome. What would be wrong? $('#conteudo').hide(); <?php if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { ?> $(document).r...
asked by 18.11.2015 / 17:10