Posts by Esdras Xavier • 131 points
4 posts
-
1
votes4
answers194
viewsA: Exchange images with Jquery
When using date you should use the Jquery selector differently, something like: $("[data-slide='meu-slides']");, see the example in Jsfiddle In your case it would look like this:…
-
0
votes2
answers165
viewsA: Algorithm for summation of doubles
I made an example of code in python, first thing I thought was to do using 2 for however we know that the level of complexity of this would be O(n 2). So starting from this principle we could use…
-
1
votes3
answers63
viewsA: Event at mouse click
If your idea would only be to swap display or hide your element using a click, what you can do is check whether it is visible or not, and hide it using is(":visible") jquery. Link with both…
javascriptanswered Esdras Xavier 131 -
1
votes1
answer194
viewsA: How to open my 404 component in case of error without changing the URL in Vue.js
Try to use this, I believe it should work: { path: '/404', name: 'notFound.index', component: () => import( './views/NotFound.vue' ), }, { path: '*', redirect: '/404' },…