Questions tagged as 'javascript'

1
answer

Short does not recognize whole date

Hello, how do I make short recognize the entire object { "Dir": "Sd:/", "List": [ { "Tipo": "P.O.S.-", "Data": "11/10/2017", "Hora": "23:58", "Size": "0", "Nome": "Arquivo1" }, { "Tipo": "P.-...
asked by 08.10.2017 / 09:28
2
answers

Problem warning when validating fields

I have a problem in the message that is printed from the validation of my form, it only prints correctly when the last field is not filled or is filled, ie the problem is in the execution of the loop. Here is my HTML code: <form id="formula...
asked by 06.10.2017 / 17:05
2
answers

How to store AJAX return to use as a parameter of another function

Main function, which will return the value chave = data.chave : var chave = ''; $scope.submitForm = function() { $http({ method : 'POST', url : 'validar.php', dataType: 'json', data :...
asked by 10.01.2017 / 03:44
1
answer

Click the link that leads to another part of the same page [closed]

I'm creating a webpage that the menu links will take to the bottom of the text and would like to use an effect to slide from point A to point B. How do I do that? Ex: When you click on the menu (go to footer) Go down to the footer slowly ...   ...
asked by 07.01.2017 / 07:25
2
answers

How to disable old dates in the Bootstrap Datepiker version?

You can not choose the old date. For example: Today is 1/18/2017, you have to disable 17/01/2017, 01/16/2017 and so it will ... You can not disable today's date and future. Here is the complete code in the jquery version: link How to do...
asked by 18.01.2017 / 19:15
2
answers

fill input from right to left

I need two input that I have in an app to be filled from right to left ... One of the inputs is value in reais (R $) and the other is value in milliliter (ml), I'm using a jquery mask (a MaskMoney works fine rather than mobile, so I...
asked by 11.01.2017 / 14:41
1
answer

Pull the echo from php into a div, without refresh

I have a div in html, it is with display none, I fill in the form and the data goes to a .php file and it gives me an echo saying that the data was entered in the database, only that I wanted it when the php gives that echo that div I have got t...
asked by 07.01.2017 / 18:06
3
answers

Enable tag contenteditable="false" to "true" with javascript

How do I make a script so that when I click the edit button, my div will automatically be editable and the save button will appear that will disappear when it is clicked and my div will be non-editable again? <div class="texto" contented...
asked by 31.05.2017 / 19:42
1
answer

How do I set an equal value for a property of an object on all objects in a list?

How do I set a value for a property in all indexes in the list without looping? object: var objeto = { nome: "", ativo: false } list: [{"nome": "Carlos","ativo":false},{"nome": "Joao","ativo":false}] In this example, all people...
asked by 24.05.2017 / 22:28
2
answers

Open windows explorer using PHP and / or JS

Good morning, everyone. It is possible to open Windows Explorer in the client workstation in a certain network folder (windows share) either with PHP itself and / or JS. I have tried with the php exec () and window.open (faithful: ///) fro...
asked by 26.05.2017 / 17:09