Posts by Matteus Barbosa • 145 points
5 posts
-
-2
votes3
answers4720
viewsA: Uncaught Typeerror: $(...). tooltip is not a Function
Remove duplicate jQuery and/or Bootstrap loads. Inspect the code and locate the points where jQuery and/or Bootstrap loads occur more than once.
-
1
votes3
answers847
viewsA: How to prevent background scrolling when opening a modal window with javascript?
With jQuery: $('#myModal').on('show.bs.modal', function (e) { $('body').css({ 'overflow' : 'hidden' }); }) $('#myModal').on('hide.bs.modal', function (e) { ('body').css({ 'overflow' : 'initial' });…
-
3
votes3
answers1222
viewsA: Bootstrap grid not working!
You must use Bootstrap 4 to use the class suffixes -xl . Still, you should note if the other classes added to the element (wow and bounceInLeft) do not have CSS attributes like float and display…
-
0
votes5
answers1024
viewsA: How to get last position of an ID in the array
You need to scroll through your coordinate array and identify the indexes of the coordinate objects with the desired Ids: var coordenadas = [ {id: 1, quantity: 2}, {id: 2, quantity: 0}, {id: 3,…
-
0
votes5
answers1024
viewsA: How to get last position of an ID in the array
You need to scroll through your coordinate array and identify the object-coordinate index with the desired ID: var coordenadas = [ {id: 1, quantity: 2}, {id: 2, quantity: 0}, {id: 3, quantity: 5} ];…