Questions tagged as 'javascript'

1
answer

Script does not continue and hangs

I have the following code done with javascript : <script type="text/javascript"> $(function() { $("#loginForm").on("submit", function(a) { a.preventDefault(), $("#signinButton").attr("value", "Autenticando...");...
asked by 30.06.2017 / 20:16
1
answer

DataTables - Export to Excel

I have a table that, once loaded, each line has a show detail button (+ icon) as shown in the image below: Clickingthisbuttonopensanewtablebelowthatcanberetrievedlater.TheproblemiswhenexportingtoExcel.Thetableisallunconfigured,likethis: This...
asked by 30.06.2017 / 19:13
1
answer

Ionic 2 and One Signal how to use the handleNotificationOpened () function

I have an application that is 90% ready, notifications are already configured with One Signal, however, I want to send the user to a specific page when he clicks the notification, and this page may be different depending on the notification I su...
asked by 05.07.2017 / 23:50
1
answer

how to force one dialog box to stay above the other?

I have 1 dialog box that calls a 2, but this 2 needs to be above 1 how do I force it via javascript? or any other way, less z-index than tried and is not going.     
asked by 06.07.2017 / 14:37
1
answer

Function calculates date and returns invalid date

I have the following code: //função exibe data de hoje no campo cancelamento function Data(){ data = new Date(); dia = data.getDate(); mes = data.getMonth()+1; ano = data.getFullYear...
asked by 29.06.2017 / 04:37
0
answers

Create persistence of categories and subcategories with jquery

Now I have a persistence problem in the select field of categories and subcategories that I did with jquery with the help of a video, since I'm not very good with jquery. I have the following jquery script: <script type="text/javascript"...
asked by 13.07.2017 / 05:07
1
answer

How to make the optgroup access a page

I have a code and I want it to work as follows: I created a list of options within a optgroup and I want it as soon as I click on an option, it goes to the page I want. Example: <optgroup> <option>Opcao1</option...
asked by 13.07.2017 / 01:02
0
answers

Return a variable (Singleton) using Node that depends on Promise

Good afternoon guys, How can I create a variable in NodeJS / JS where I would return a value only to be used multiple times throughout the program? Exemplifying my problem: I have to log in to a platform and then send data to it. When I l...
asked by 12.07.2017 / 21:05
0
answers

help on github [closed]

Hello, I'm still a baby in the programming universe and this is my first interaction with stackoverflow, so please if I do some bullshit please help me. link to github: Recycle Oil Project I have a project in github, actually a draft pro...
asked by 13.07.2017 / 04:27
1
answer

Problems changing the action with javaScript

I am having the following problem, I am trying to change the action of the form using the following function, what happens is that if the condition is false for any one of them it still tries to execute all the others trying to execute all condi...
asked by 17.07.2017 / 15:41