Questions tagged as 'javascript'

3
answers

Send form without closing modal

I have a page with job opportunities when I click on a button it calls a modal and displays a form where sending information requires that he does not reload the page and displays a confirmation message. What has happened is that after...
asked by 04.09.2018 / 21:20
1
answer

Write Information from a FORM on the Same Page

I would like a very brief help, I am making a form to send a resume with HTML + PHP, I would like to know how the following would be done to add a course. (1st we add a course), (2nd we put course information) and then I want it to be recorded a...
asked by 04.09.2018 / 21:09
0
answers

Manipulating image JS

I need some help at the following point. I need to manipulate an image and add tags to it. Example: I have an image of a houseplant, and I would like the user to select an item, for example, a table and drag it to the location of the plant th...
asked by 10.09.2018 / 00:53
1
answer

Format object with array of objects in properties - variable scope problem

Good morning, I have a problem with returning a webservice, I make a query to get Categories, and then another to get the items in that category. The goal is to set a return on the pattern: { "categoryId" : 1, <--- resultad...
asked by 10.09.2018 / 03:19
0
answers

Extension problem for Google Chrome

Good afternoon, my goal is to do an extension to monitor price, but the code is not working. It was to generate a txt file. I also wanted to know how I display information in the popup window. Thanks for any help. tutorial I'm following m...
asked by 09.09.2018 / 17:48
1
answer

ERROR accessing JSON keys with special character

Good evening, guys! I'm writing a NodeJS that accesses a URL that contains a JSON in that JSON the keys contain special "-" character that is causing error in my application what would be the correct way to access them? Example Error:...
asked by 04.09.2018 / 04:24
0
answers

Render string pdf without creating file - Electronjs / Nodejs

I have a variable with the contents of a pdf string, which has already been downloaded from any website. const pdf = ""%PDF-1.4 1 0 obj << /Title (þÿ�e�-�R�e�c�u�r�s�o�s) /Creator (þÿ) /Producer (þÿ�w�k�h�t�m�l�t�o�p�d�f) /CreationDate...
asked by 04.09.2018 / 04:03
1
answer

Get JSON return from a URL within the function

I have the following function: $(document).ready(function(){ arrayAmount[0]='29.90'; } I need instead of specifying the value directly there (29.90), so that it gets the value of a URL. Ex: arrayAmount[0]=GET:http://domain_here.com?id=...
asked by 01.09.2018 / 04:59
0
answers

SessionStorage Returning NULL when Application Starts

I have a function that is bound to a button, which saves a value in sessionStorage.setItem , and redirects to another page. Arquivo cliente.js pegaValorConta(id) { sessionStorage.setItem('id-cliente-conta', id); window.loc...
asked by 16.09.2018 / 00:09
1
answer

Calculate items in a table

I need to calculate the table items and display them in a certain field on my page. Currently it looks like this: <div class="pacientes"> <div class="pacientes-header"> <i class="fa fa-people-carry"><...
asked by 31.08.2018 / 04:39