Questions tagged as 'javascript'

1
answer

Help with the error: can not call getOutputStream () after getWriter (), when trying to perform a file download in java?

I have the following method in the controller, which returns a json type response to the view, to show in a dialog whether or not there is data in the bd according to the information of the parameters that happened to my service. @Req...
asked by 13.06.2018 / 04:51
0
answers

Fill HTML table with Javascript

I'm having a lot of problems with what I'm trying to do. I have gone around and I do not know if it is possible, that having a table created in HTML, I can fill in the days of each month with JavaScript. The HTML code that I have is the followin...
asked by 26.06.2018 / 16:38
0
answers

Insert in database with JavaScript and php

I'm trying to insert into the database. The operation would be to give the button "Apuntarse" and that by inserting the user and the id of the hang-up to the database at the same time that the button is deactivated and the "Unplug" button is act...
asked by 08.06.2018 / 09:34
0
answers

How to redirect data to another javascript

I tell you, I have a calendar project, calendar, so that it is "indexed" in a body_agenda.php file, which determines some higher buttons that if you press one you pass to the calendar for weeks, if you press another one to the days ... Well,...
asked by 09.06.2018 / 15:18
1
answer

Confirm Dialog when you are closing a browser window

Hello, my question is how can I make a dialogue message when a user wants to close the page to confirm if they want to leave or want to stay on the site, I tried in many ways that I saw by other posts and none It works for me, thank you very muc...
asked by 08.06.2018 / 11:17
1
answer

how to get toDataURL Canvas

I have a problem with my canvas, I'm painting an image in base64 and I want to remove it after painting it on the canvas, when using toDataURL it shows me a base64 that corresponds to a black image. I leave my current code thanks. var imgDat...
asked by 08.06.2018 / 15:17
0
answers

How to correctly validate an input onkeypress using javascript?

I've been practicing with events in javascript, because I'm tired of placing onclick, onfocus or other event as an attribute in HTML tags and I wanted to share this code, can it improve in terms of security or can it be shorter? divKeys=...
asked by 25.05.2018 / 00:52
0
answers

How to use variables with Apollo Graphql

I am using React, GraphQL, Apollo, MongoDB ... I have a list of clients on the screen and I have a search button that when clicking on it goes to a handleSubmit: handleSubmit = (ev, args)=>{ const response = this.props.allClientes({opt...
asked by 28.05.2018 / 16:33
1
answer

HTML form to search and edit data in Google Sheets

I have a form in html to edit or search data in a sheet, everything works but after clicking the edit button or when I try to do two searches in a row the page disappears and I have to manually reload. I would like to know how to do that after c...
asked by 06.06.2018 / 16:18
1
answer

Copy row from a table with jquery

I'm trying to copy a row of a table with jquery, this is the table: <table id="myTable" class="table table-bordered"> <thead> <tr> <td>Empleado</td> <td>Fecha salida</t...
asked by 06.06.2018 / 21:22