Questions tagged as 'javascript'

0
answers

Automatic date range check

How do I check the dates without having to hit the submit button? Type an invalid date and be alerted if it is not within the range? function checarDatas() { var desenhoDidatico = document.desenhoDidatico; console.log(desenhoDida...
asked by 18.07.2018 / 21:12
1
answer

Change a JS Function to open two different Modal Bootstrap Windows - Asp.Net Core MVC

Currently, I have a Modal (modalGenerica) in my Index that generically opens the Create, Edit and Delete views. To open the Create and Edit views, there is no problem, since both open in a modal of the same "size", but that to open the view Dele...
asked by 15.07.2018 / 13:23
1
answer

Number format help in simple mode [duplicate]

I think my question is silly, but I never got to take that test. has some way to recover the value so 10.90 with zero without using function or replace, I have tried here more without success! var total = 10.90; totalreal = parseInt(total)...
asked by 18.07.2018 / 17:32
1
answer

How to perform a reload on only one part of the page, from an ID?

I'm trying to do a reload just for content from within a div. <div class="panel-body"> <pre> <p id="content" th:utext="${log.content}">Log content</p> </pre> </div> I...
asked by 18.07.2018 / 17:36
1
answer

How do I display the text of a notification when the user opens this notification?

I'm creating an app with the phonegap and using the cordova-plugin-firebase to send notifications to the android, until then, I'm getting the notification, but when I "open" the notification I can not show the contents of it. message) wind...
asked by 23.07.2018 / 22:06
1
answer

How to add a class in form after page return

I have an input of type hidden that gets the name of the menu that was selected that was returning from the application, it can receive (progress, closure, values) After the postback, I want the menu that was received in the input to be active (...
asked by 18.07.2018 / 19:02
1
answer

How to show Controller result in View c #

I would like to show my result that is in the controller method in View. EX: Controller: public class SMSTarifado { public int QtdTarifados { get; set; } public int QtdEnviados { get; set; } public int QtdRespondidos { get; set;...
asked by 23.07.2018 / 20:57
0
answers

btn save error does not work after Image Preview is loaded

To try to make a user image swap area where it clicks on select file after the file is selected a Preview appears, in that the user can choose to save or load another. plus the save button does not work after the Preview is loaded. I do not under...
asked by 13.07.2018 / 23:51
1
answer

Bootstrap HTML button collapse how to disable one when opening another

Hello, If anyone can check my html and css code please! I want that when clicking on the zombie or multiplayer button when one is already open, the other one is disabled. Type the multiplayer collapse button is open, by clicking on the collapse...
asked by 14.07.2018 / 20:16
0
answers

Is there any kind of hook in Karma?

The idea is for a method to be called at the end of the process of karma So that I can start a process that will treat the output of my coverage     
asked by 19.07.2018 / 21:52