Questions tagged as 'javascript'

0
answers

How to change the value of a php variable using JavaScript or Ajax?

Contextualization When you register a project by default the Documentation Status is pending as a result of this configuration the project tabs are not visible. IfyouchangetheDocumentationStatustoAuthorizedorCompliantandthenpresstheAuth...
asked by 10.04.2018 / 22:32
1
answer

PWA installation banner settings

I have a PWA that was built using VueJS and I would like to know if it is possible to display the installation banner more than once, since it currently only asks once if the user wants to install PWA. I wonder if it is possible to display th...
asked by 03.05.2018 / 19:09
2
answers

Validate checkbox fields with Bootstrap validator

I'm trying to use the Bootstrap validator in the checkbox fields, but I'm not sure how to do it. Is there a function in this library that does this or should I validate in pure JS? Code: <div class="form-check"> <div class="chec...
asked by 04.05.2018 / 13:52
0
answers

Connect to the database via browser console

I have an application in JS that runs via the browser console. I would like to know the possibilities of sending and receiving data via mysql through the Console. I do not know if it's possible either. I tried something, but it did not wor...
asked by 03.04.2018 / 17:30
0
answers

Create Login Class javascript & php (AJAX)

I have a great question regarding the javascript es6 to create a login class, my intention was to organize the code more, but I do not know where to start: p, I apologize for my lack of knowledge about the subject most try look for a light here....
asked by 04.04.2018 / 11:28
1
answer

Search with explode and friendly url (problem)

I have a problem. I was using a search engine with variable multipules without a friendly url. And it worked normally. I placed several keywords and searched the database without any problem through EXPLODE. Except now, I've placed a friendly...
asked by 04.04.2018 / 19:10
0
answers

Get first row and first column gridview JavaScript

I'm trying to get the value of the first row and first column of the gridview through javascript, however it is returning error. Here's how I'm trying to do it: var grid = document.getElementById("#<%=GridView12.ClientID %>"); var cell =...
asked by 27.03.2018 / 15:14
1
answer

Async request problem with variables

The problem is with variables why the async function is executing after variable assignment. what can I do for the execute function and wait for it to finish to get the value of the variable? var request = require('request'); funct...
asked by 26.03.2018 / 20:26
2
answers

Change the color of an SVG by a button

I have an inline and inline SVG on a page. and need to change the color of this svg, as the user clicks on a particular button. In this case I have several buttons, each one responsible for changing to a color. However I am not able to make this...
asked by 26.03.2018 / 20:32
0
answers

Session in Node.JS

I was reading that middleware Express Session is not ideal for working in production, for which archives the sessions in memory. I've also read that storing session data in memory is not a good practice. So, my question is: what is the be...
asked by 25.03.2018 / 17:32