Posts by Gustavo Oliveira • 11 points
4 posts
-
0
votes0
answers7
viewsQ: You can choose the currency numral.js will format by default
I wonder if there is any way to choose the currency in which the numeral will format, passing it by parameter, I would not like to use the locale, because in some situations it will not work, I am…
-
-1
votes1
answer81
viewsQ: How to use bootstrap datepicker to disable some dates
I believe that after a certain date chosen by the user, all the dates ahead are disabled for choice, I tried the use of maxDate, but it has no effect, I was able to disable some date using…
-
0
votes2
answers4995
viewsQ: How to resolve is not defined at Htmlbuttonelement.onclick
I have a button in a table that has the following code <td> <button class="btn btn-primary float-right" onclick="addCart()"><i class="fa fa-shopping-cart"></i> Adicionar ao…
-
1
votes1
answer1540
viewsQ: How to catch the start and end of the week on Moment.js
I use the following code to catch the start and end of the week. pegaData() { moment().locale(); var agora; var datainicial; var datafinal; agora = moment().format('DD-MM-YYYY'); console.log(agora);…