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">...
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...
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...
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:
...
<...
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">...
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...
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,...
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...
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...