Posts by Hiury B. Bressanelli • 41 points
9 posts
-
0
votes2
answers650
viewsA: How to work with JWT authentication header in Adonisjs?
If by chance someone has this same question as me, below follows the code I used to set the Authorization + token in the header, and then capture the data of the token user: setting the header: "use…
-
0
votes2
answers650
viewsQ: How to work with JWT authentication header in Adonisjs?
To get to the point, I want to know how to work correctly with JWT on Adonisjs (I’m learning to use the framework and I’ve never worked with JWT before). My problem now is that I don’t want to keep…
-
0
votes1
answer257
viewsQ: Update Fullcalendar on onChange from a select
I have a select html in my page header that lists some people in the database, when one of them is chosen, I take his ID and store it in a JS variable and send this variable by AJAX to my php, where…
-
1
votes2
answers29
viewsA: I am unable to create a dynamic Jjquery Div
To create a div with Jquery, it’s very simple: $('<div>', { id: 'minhaDiv', class: 'minhaClasse', 'outro-atributo': 'meuValor' }).appendTo('body'); And you add that to an onClick, it’s up to…
-
1
votes3
answers558
viewsA: Display only part of the text in an Html page
using Jquery You could create a div with the contents of "read more", pass an ID to her, and then first set her as Hide (hidden), which can be with the class bootstrap hiddendiv or jquery id:…
-
1
votes2
answers223
viewsA: How to render events in Fullcalendar by specific views?
After knocking my head and reading the documentation a lot, I finally got it. I’m using version 3 of fullCalendar, the final code was this way: //meus arrays (virtual e scheduled) var virtual_array…
-
0
votes3
answers6902
viewsA: Ajax request with Error Failed to load Resource: the server responded with a status of 500 (Internal Server Error)
Hey, Beauty John? Error 500 (Internal Server Error), is a type of http status that the webservice (Apache/Nginx or IIS) returns when it cannot specify the actual error that occurs internally during…
-
0
votes5
answers102
viewsA: doubt about select in css
The padding is the most recommended in this case, it will create an internal space. The important thing is that you set it to all sides, otherwise you end up throwing content from to a place you…
-
0
votes2
answers223
viewsQ: How to render events in Fullcalendar by specific views?
Imagine the following situation: I have 2 arrays and 2 views in my fullCalendar. In the "list" view I need to render the first array of events, that reflects the select in a view in the database.…