Questions tagged as 'jquery'

2
answers

Change an element with jquery

I have a list of items and each item in this list is a link with a lot of attributes and items within that link. summarizing my link is like this: <a href="#" class="editItem list-group-item" data-id="1001" data-validate="2014-09-08">...
asked by 13.08.2014 / 22:20
2
answers

Arrange jQuery Ruby On Rails

I have an app in rails 4 and after doing the scaffolding it generates a * .js.coffee for each template, as I am not yet using coffeescript renamed to * .js and I am trying to use jQuery. The problem is that I need to trigger a process delayed by...
asked by 22.08.2014 / 04:07
1
answer

How to make Footer stand in the footer after using AJAX?

I have already made several applications and have always used the method below to regulate the height of footer . Always using Bootstrap. HTML <div id="footer"> <div class="navbar navbar-fixed-bottom"> <div id="r...
asked by 19.08.2014 / 18:44
1
answer

jQuery, stop running functions depending on window size, also do not resize

I'm working on a site that calls external JS files. The problem is that when I would like some functions to stop running on desktop when $(window).width() < 800 and vice versa: External JS / CSS file link: HTML tag HEAD: ... <...
asked by 24.10.2014 / 16:11
3
answers

Image with vertical scroll and height 100%

I have the following structure: <div class="bg"> <img src="view/img/planta-supermercado.png" id="bg"> <div class="bg-scroll" id="bg-scroll"> <img src="view/img/planta-supermercado.png" id="bg-mobile">...
asked by 28.05.2018 / 16:05
1
answer

Test JQuery classes

I know that to test if an element has a class we use hasClass (), but my question is as follows. I have an element with a class and assign a second class in it with classToggle (). Is there a way to test if a class has another class? If you're c...
asked by 10.07.2014 / 16:07
1
answer

How to remove events associated with elements via ".on ('action'"

I have a modal of bootstrap that I use to register / login cadastroModal , but at the end of the request, I am reusing it to request the login and for this I added an event in onHiden , but I can not remove it after the call,...
asked by 08.07.2014 / 15:00
2
answers

How to disable and enable onclick with JQuery

Hello. I'm doing a little college job where a kid needs to click on the wrong picture in a group with 3 other pictures. When clicking on one of the images, it receives feedback if that is the right message or not, a button appears to display the...
asked by 30.04.2018 / 16:04
2
answers

.replace () on jQuery object

Good afternoon everyone. I must say at the beginning that it is my first question here. I usually just read the questions of others, but I do not find a solution to this problem anywhere on the internet. I have a code that takes a value fr...
asked by 24.04.2018 / 21:22
1
answer

Ajax crashes the computer

Review the code below function update(){ $.ajax({ url : 'http://localhost/sistema', type : 'get', dataType : 'json', success : function( data ){ console.log('Mostrar dados: '+.data.dado); } }) } setInterval(fun...
asked by 24.04.2018 / 16:07