Questions tagged as 'javascript'

1
answer

How to host my angular application

I have the following directories in my angled application: node_modules/ src/ --client/ ----/app/ ----/index.html --server/ package.json print the files I would like that when the user accesses my site he redirect directly to src / cl...
asked by 27.08.2015 / 04:01
4
answers

Disappearing Button On The Side

I have a button that when clicking will disappear the button on the side. For this I have this code: document.getElementById("idBotao").style.display="none"; HTML: <div id="idBotao"> <a href="javascript:void(0);" id="$l-&g...
asked by 02.09.2015 / 15:35
1
answer

How do I sign in with Facebook in React Native in the new format?

I've previously done Facebook integration with React Native, and for that I have changed a few lines of code directly into the Android folder of the Application. But in the application I'm doing now I felt a lot of differences, among them the la...
asked by 22.06.2017 / 20:40
2
answers

Change one combobox from the other

Colleagues. I have a combobox which has the hotels list: <select name="Hotel" id="Hotel" class="form-control"> <option value="Selecione">Hotel</option> <option value="Hotel A">Hotel A</option> <option value=...
asked by 27.08.2015 / 20:15
1
answer

Select element, ignoring specific class

Come on ... Suppose I have something similar to the list below. <div id="respostas"> <div class="historico"> <div class="lista"> <div class="enviando"><strong>verbot</strong> curar</div...
asked by 04.07.2017 / 19:16
2
answers

Retrieve text from li and pass to PHP

I'm starting in web development, I have the logic of how to do things, but the problem is implementation. I have a "UL" being populated by database, I would like to know how I capture the selected value of the "LI", set to a variable and that va...
asked by 05.07.2017 / 17:32
2
answers

Field of the type time or decimal, how to solve?

I have in the system that I am developing a field called flow, which can be filled either with a decimal value of type 0.5 and 2.4 or with a time value, type 15 min and 5 h. What is the best solution when creating this field in my table? Leave...
asked by 28.04.2016 / 16:28
2
answers

Problem with toFixed in return Json

I'm having trouble using toFixed on a json return. A part of the code success: function (dados){ $.each(dados, function(index){ var guidPedido = dados[index].guid;...
asked by 01.08.2016 / 18:32
3
answers

Extract from a date in the format string the data separately

I have a date in the format of string: Wed Jul 20 2016 14:01:01 GMT-0300 (BRT) And I would like to extract the date and the days and the time in such a way that I can form a string like this: Quarta-Feira, 20-07-2016 as 17:01...
asked by 02.08.2016 / 16:09
1
answer

Passing array as parameter does not work

I need to pass an array as a parameter to a function, each array value has the name of an image, and the function should load each of those images as img/foto1 , img/foto2 , etc. But it is not passing the array values, it is simply p...
asked by 06.06.2015 / 17:04