Posts by Arthur Almeida • 186 points
3 posts
-
1
votes1
answer257
viewsA: Route Error in Vue js
From what I could see import of VueRouter is spelled wrong, missed a r Should be: import VueRouter from 'vue-router'…
-
0
votes1
answer58
viewsA: How to update a specific div on the page?
The return of ajax is already html ready to insert inside the div? If yes you just make one $('#coments').html(resposta) no .done The . html method replaces all the html content of the selector you…
-
3
votes2
answers113
viewsA: How to make two events not fire at the same time
I haven’t circled your code here but from what I’ve seen is going on the following thing. In your code you have 2 Event listeners. The first #btn-menu is linked only to the element with that id. The…