Questions tagged as 'javascript'

1
answer

How to calculate and display the result of an operation, taking the data of a form, and sending the answer on the same page below the form? [closed]

<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Calc PHP</title> </head> <body> <div> <form method="post" action="index.php" id="form">...
asked by 20.07.2018 / 16:26
0
answers

Doubt in merge sort debug with Javascript

I'm studying data structures with Javascript and so far everything was ok. But when I got into sorting algorithms, more specifically in merge sort, I ended up crashing, I can not understand the order of execution it follows. There's a double rec...
asked by 19.07.2018 / 03:11
2
answers

How to remove specific DIV with javascript?

Hello, I have a database of academic information; I need this field to be duplicated and removed, but when I remove only the first DIV and deleted; I use the javascrip below, when the person clones the field appears the 'X' to delete, but if it...
asked by 19.07.2018 / 18:27
0
answers

Is it possible to reverse engineer applications in React Native?

I'm working on my TCC and I'm researching on reverse engineering, and as I work with react native, I wanted to know if it's possible for me to have an APK get its javascript code. I know that using apktool and d2j-dex2jar I get the code in ja...
asked by 19.07.2018 / 12:46
0
answers

CORS failed to convert an image

I have a variable that returns an url of an image: var imagem = $scope.authentication.user.imagem.toString(); I want to pass this variable to another method, where I want to encode for base64: getDataUri(imagem, function (dataUri) {...
asked by 19.07.2018 / 19:34
0
answers

Instantiating object in a constructor [closed]

Good afternoon. I would like to know if it is possible to instantiate an object in the javascript constructor. constructor{ this.objDificultControll = new dificultControll(); } I have the following error    dificControll is not defi...
asked by 19.07.2018 / 17:02
1
answer

How to convert a javascript object to a user presentation?

I need to display the results of a firebase query for the user. To perform tests, debug code manually and check conditions, we usually use some function such as console.log, alert, json returns, array, etc. during development. But at some point,...
asked by 14.08.2018 / 13:00
0
answers

Request Ajax Request

<script> document.querySelectorAll('[wm-folder]').forEach(folder => { folder.onclick = function(e){ console.log('teste') } }) </script> <h1>Projeto</h1> <ul> &l...
asked by 13.08.2018 / 04:56
0
answers

progress bar for execution when changing tab in javascript

I'm having trouble in the progress bar made in javascript, the bar is working but the problem is, when you change the tab and then back the bar is stopped and it works again, I would like to know how to make the bar continue when you change page...
asked by 11.08.2018 / 17:13
1
answer

Loading animation when sending form

I put the plugin Pace Master on my page that makes a bar load at the top while the page is loading, like YouTube's, however, I want to make that same bar load when sending the form it contains on the page, if it is filled out. I've seen this o...
asked by 15.07.2018 / 18:14