Questions tagged as 'javascript'

1
answer

Format number with javascript

I have the following value: 7500 How do I get this value as final result: 75.00 , I would like to use pure javascript only. Other examples: 76000 > 760.00 1600 > 16.00 I tried to use toFixed but it did not work v...
asked by 05.07.2018 / 00:39
0
answers

Taking JSON property values to console.log

How to "read" the following structure and display the result in%% of Postman var corpojson = JSON.parse(responseBody); console.log('| -- CPF :' + (corpojson.entities.people.idNumber)) console.log('| -- Nome : ' + (corpojson.nome))     
asked by 04.07.2018 / 21:57
0
answers

Update the html by js, following standard MVC

I would like the generated table to have an update button, which when clicked would update the field by picking up the values from the form NegotiationView (where the table was dynamically mounted) class NegociacoesView extends View { co...
asked by 04.07.2018 / 23:11
1
answer

Modal Form Login appears once and disappears at the same time

I have a problem here with this modal form. JS works fine, but the modal window pops up and disappears quickly. How to solve? <a href="" id="signin"><li>Entrar</li></a></a> </ul>...
asked by 04.07.2018 / 21:24
1
answer

Only one column of the table responsible for Drag and Drop - Touch Punch

How to make only one table column responsible for performing the drag and drop of the table row using the jQuery UI Touch Punch event <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script s...
asked by 04.07.2018 / 23:37
1
answer

Send input file by Ajax

How do I send a file via email using Ajax? When I fill out the form, all data is sent minus the upload. For Php I can send everything right, the problem is when I run the ajax function, it does not send the upload $("#enviar").click(functi...
asked by 04.07.2018 / 22:02
1
answer

Remove Child Firebase

Hello, I'm starting to study Firebase and I'm putting together a simple timeline, but I crashed at the time of trying to delete a certain post. I've seen people saying it's done by remove() , but I do not know how to apply it to the code....
asked by 26.06.2018 / 17:17
0
answers

JS and HTML History

Err to call the information in the database and view it in a table using tags. Error: Can not read property 'pla_id' of undefined Note: I am a newcomer to the development, I researched this error and saw that it is not so complicated, but...
asked by 26.06.2018 / 15:36
0
answers

Datepicker that takes information by day, week and month

Hello , I'm creating an html form, where I need to filter some dates so that the user is restricted to taking a one-day interval, or just a week of the month, or an entire month . I'm currently using DateRangePicker, however I needed to turn it...
asked by 27.06.2018 / 13:07
1
answer

Disables the DataTables collapse function

Good! I needed to know if there is a way to prevent DataTables from collapsing the columns, and also if there is any way to use columns.visible to make the column invisible, but not space too! For easier understanding: This is what I want...
asked by 27.06.2018 / 10:47