Questions tagged as 'jquery'

4
answers

How do I create a link that when clicked adds a CSS property to a div?

   I have a div on my site with the class .zopim , how can I do when the person clicks the div link with class .zopim receive a margin-bottom:20px ? Type like this: When the person clicks: <a id="botão-chat" h...
asked by 12.08.2014 / 05:21
3
answers

Send what is being typed from one input to another in real time

Hello, guys! I do not understand JQuery or javascript, only PHP. I am suffering to create an INPUT 1, which in real time, sends what is being typed into an INPUT 2, with no spaces or special characters. I'm currently handling this in PHP. Exampl...
asked by 11.10.2017 / 22:09
2
answers

Script giving syntax error after; [closed]

This script gives error: <script> $(document).ready(function () { $('#dataSolicitacao').datepicker({ format: "DD/MM/yyyy", language: "pt-BR", minViewMode: 0; ori...
asked by 01.04.2016 / 13:25
2
answers

Why do my events with Jquery stop working after an AJAX request?

I have two buttons that when clicked make the call of a .on('click',function()) but before that an AJAX request is made and after that request they do not work anymore. Before I did the function to make the request, it worked perfectly. T...
asked by 25.11.2015 / 17:33
3
answers

Problem removing elements with jQuery

I'm trying to remove fields from a form that are within for . The problem is that only the first element of for is removed, the others do not work. I think maybe you did something wrong in the function, I have no experience with jQuery....
asked by 07.01.2016 / 12:11
2
answers

Change class with javascript or jquery

I have a menu in html with a class menu-disable which is when it is closed, I need to change this class to menu-active that will be when it is open. I do not know much about javascript and I needed to do a script or javascript o...
asked by 22.12.2015 / 23:40
3
answers

as per values inside objects [closed]

I have a " span " with date properties: <span data-label="Name" data-icon="user"></span> And in the script I have a variable with objects: var widgets = { options: { label: null, icon: null } }; Ho...
asked by 01.01.2016 / 00:23
2
answers

How do I show a description of a shirt when I click on it?

My code looks like this: <div class='CamisetaTudo'> <img class='Camiseta'>camiseta.jpg</img> <p class='Clique'>Clique aqui</p> <p class='Descricao'>Descrição aqui</p> </div> <div cla...
asked by 15.01.2016 / 00:44
4
answers

Find out which div with the same class is larger

I'd like to have a code that ran through all divs with a certain class and then saw which was the one that had height and set their size all the same. Is there a way to do this? I know how to get height with: $(...
asked by 15.12.2017 / 18:14
2
answers

Form only submits with Enter key

Inside the backoffice of a store based on Prestashop V.1.6.1.3. When I try to register a product, a very strange problem occurs that does not show error in anything even using the debug mode connected: define('_PS_DEBUG_DEV_', true); define...
asked by 11.11.2016 / 20:00