Posts by arceliver • 76 points
7 posts
-
1
votes1
answer35
viewsA: How do I get the value that is returning from the console.log(Results[4].geocode) to use in my if comparison?
If the if you want to create is what is already in the code you posted, just put all the code (with the exception of the init function) inside the then() of your Promise. This will cause the code to…
-
0
votes4
answers8000
viewsA: Create floating button that accompanies a table scroll
Use position: relative in the parent element of everything. In the table have a div that has overflow enabled. And out of this div put a button with position: Absolute. This thumb drive can help…
-
0
votes3
answers105
viewsA: Help to understand localStorage.js
Regardless of the relevance of using this, which I think has already been well explained, what your code lacks is to run its function saveGet() when the page is loaded. <script…
-
1
votes3
answers4833
viewsA: Decrease size Bootstrap field
See the fiddle Notice the classes that are following the form-group class. They will define the size of the content within it, including inputs. Nothing prevents you from using these classes within…
-
0
votes2
answers80
viewsA: Modal does not open after using $('.modal-backdrop'). remove()
It is likely that the modal element is a child of the modal-backdrop element, so when you give the remove() the element and your children are erased from its structure. It may be more interesting to…
-
0
votes3
answers781
views -
1
votes3
answers11314
viewsA: if inside an ng-class in Angularjs
I don’t know if you already got the answer, but I’ve got the same question now and I used it like this: <div ng-class="minha_variavel > 0 ? 'col-md-6' : 'col-md-12'"></div>…