Questions tagged as 'javascript'

0
answers

Error: Cors integrating nodejs and Angular 6

I have a problem that I need to address, but I'm not getting any solutions yet. I have an application in NodeJs that I developed in #ExpressJS and I face some problems related to the CORS of the Browser. In my index.js from my node backend...
asked by 15.08.2018 / 07:14
0
answers

Biometric Reader

I'm trying to set up the biometric reader on my computer, but it's giving error: SCRIPT429: O servidor de automação não pode criar objeto Messa line: var objNBioBSP = new ActiveXObject('NBioBSPCOM.NBioBSP.1') When testing for reader so...
asked by 08.08.2018 / 17:00
3
answers

How to remove information in a text?

I would like to fetch and extract a string that is between tags. Using only JavaScript with Node. Example: Extract information inside any tag and save to some variable. I'm not sure how to implement code for this. I do not know if I could...
asked by 08.08.2018 / 18:40
3
answers

How to change the color of the form button with javascript?

I have the following code JavaScript , how do I change the background color of the button when it is disabled? let campoSenha = document.querySelector('input[name="senha_imob"]'); let campoConfirmarSenha = document.querySelector('in...
asked by 08.08.2018 / 15:55
0
answers

IndexedDB Filter value in reading

I have a simple table with 3 fields. One of them is anot_status and I would like to filter only the records that have 0 in that field. I'm doing this filter manually, like this: // Abrir o banco para leitura var tTrn = oDB.transactio...
asked by 08.08.2018 / 02:19
1
answer

Creating thumbnails with just the video link

Is it possible to create a thumbnails just by having the javascript video link in hand? Without having to use php, or other tools if dealing with what I want to use in Blogger, it is somewhat limited to that side. Link template: http://blogge...
asked by 08.08.2018 / 03:24
1
answer

Open base64 PDF

I have an application that generates a PDF in bytes and converts it to ToBase64String and sends it through a JSON so that javascript can open, but in chrome it can not read that file and display the PDF $.post('/Relatori...
asked by 16.08.2018 / 19:04
2
answers

How do I use parseFloat in this algorithm?

I have created an algorithm that receives the 4-month bill, which calculates the mean and shows the approval result. For the approval result I did as follows. Approval Result: Approval with maximum grade = 10. Approval above average = 8 to...
asked by 16.08.2018 / 17:50
1
answer

My checkboxes are not ticking / unchecking

I'm implementing some checkbox with React, I can set it to initially be checked or not, but I can not change that state. How to solve? My PrincipaL Class class NewsletterConfig extends Component { constructor(props) { super(props)...
asked by 16.08.2018 / 17:51
0
answers

Post of form append generated via jquery

Gero fields via jquery, with a question and 2 answers, I need to collect these fields in post via php. Gero as follows: var length = wrapper.find(".fields").length; $(wrapper).append('<div class="col-sm-12 fields fields'+ (length+1) +'...
asked by 17.08.2018 / 04:15