Questions tagged as 'javascript'

1
answer

Dropdown menu with v-if vuejs

How can you add a dropdown effect to this menu vertically, so by placing the mouse on it it opens the ul daughter if it exists. I thought of doing with v-if when I clicked on li parent, but I do not know how to do...
asked by 12.12.2017 / 13:35
1
answer

I can not update the value of a String when I click on a particular button

I'm doing a project for a calculator and I can not update the screen when someone presses the number 7, for example. Here is the code: HTML: <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" con...
asked by 11.12.2017 / 20:47
0
answers

How to organize an Express.js application

Given that the expression has no built-in "autoload" functionality, what would be the best structure or boilerplate to follow in a large monolithic project? and how do you create it?     
asked by 11.12.2017 / 16:01
2
answers

How to get the value of a TD?

I've tried a number of ways (VARIOUS SAME) but I did not succeed! Most give me a UNDEFINED Follow the code: PHP: <?php require_once('acessabanco.php'); $objDb = new db(); $link = $objDb->conecta_banco(); $sql = "SELECT p.s...
asked by 09.12.2017 / 15:40
1
answer

How to update a Select Data with Ajax?

I have the following doubt, I have a modal, where I enter a city, so I need to have my select reloaded showing this newly added option, without the page being updated: Select: <select id="idMunicipio" name="idMunicipio" class="form-con...
asked by 18.12.2017 / 01:06
1
answer

Autocomplete with ajax in Entity Framework

I have the following HTML code: <input id="pesquisaEstilo" name="pesquisa" type="text" placeholder="Destrito, Concelho" /> <input type="submit" value="Pesquisar" id="botaoPesquisar"/> I want to autocomplete the search bar using...
asked by 17.12.2017 / 20:19
3
answers

Remove Button and Field

Is there any way to remove fields with definite in Jquery? I have the following code via Javascript, when I make an Input recording the date in the database, I need the button and the input to disappear, only allowing the input date: &l...
asked by 18.12.2017 / 21:36
2
answers

Recaptcha validation does not work [closed]

I need to validate Recaptcha in a form. But, it's not working. function validaCaptchaContato() { if(document.querySelector('#g-recaptcha-contato').value == '') { alert('Marque a opção "Não sou um robô"'); return false; }...
asked by 10.01.2018 / 13:56
0
answers

Upload File, one at a time

I have a question about how to send one file at a time after the previous one is complete (I have a multiple input) but when sending send one at a time more (if the files are large send both at the same time and progress bar is wobbling from%...
asked by 05.01.2018 / 03:17
0
answers

Encrypt in php and decrypt in javascript

I want to store a PHP-generated key as a salt in a text file at the root of my application. This key would help encrypt passwords, database access information. That is, such information would be encrypted for use by PHP. If you need to acc...
asked by 21.01.2018 / 12:59