Questions tagged as 'javascript'

0
answers

Stripe.js does not work in Laravel 5.6

I am trying to implement Stripe.js in my Laravel project 5.6 but when I checked out I do not see the value of the item registered in the Stripe dashboard. I do not know what error I may have, please I need your help. php code: public functi...
asked by 17.05.2018 / 01:13
0
answers

I can not set spaces in editable div with the space bar

The problem is that I can not give spaces with the keyboard spacebar, I do not know if the same thing happens in other browsers, but in firefox it does not leave that space blank when the space bar is typed, someone has a solution let te...
asked by 17.05.2018 / 00:30
2
answers

Show in textarea fields brought from mysql [duplicated]

Hi, I want to know how I can do that every time I select a select option it is added to a textarea, when I select an option it shows me this in textarea    Notice : Undefined index: id in C: \ xampp \ htdocs \ Login16 \ Login \ view \ ed...
asked by 17.05.2018 / 17:17
1
answer

Encrypt audio url to block access to the mp3 resource

I have a list of audios and two types of users. Some can [play] and others [play and download]. The audios charge them dynamically after a query to the BD and I show them with the following code: <audio controls="controls" controlsList="...
asked by 15.05.2018 / 23:43
1
answer

How can I add a javascript file in a project of angular 6?

My problem is how to add a JavaScript file to use it within my project, and try to add it to the assets folder and it does not work, the following appears:    Uncaught ReferenceError: edit is not defined       at HTMLButtonElement.o...
asked by 21.05.2018 / 21:08
2
answers

Hide table or form in Javascript

I need to hide an HTLM element when using the function onclick() of Javascript . I have a menu consisting of a submenu of two options, like the one in the image: In the first option (Action) a table is shown and in t...
asked by 21.05.2018 / 11:41
2
answers

Help getting data from JS in PHP

I'm looking at a JS course, and it goes through the AJAX part, I understand the packaging and everything, the only doubt I have is when validating it in php $usuario = isset($_GET["usuario"]) ? $_GET["usuario"]: $_POST["usuario"]; My d...
asked by 18.05.2018 / 04:03
0
answers

Vue JS - Modal form where to pass an image to show it

Use Vue2JS and Vue Material and what I try to do is on a grid to place a button for each row to open a modal and display a picture. For each row I have the image content of the item "item" code I have is this, open the modal but does not show...
asked by 18.05.2018 / 07:06
0
answers

Autocomplete input with two conditions

I have the code to autocomplete several text boxes from a selection in a drop-down list. When I enter a character in the "nickname" imput, a query is activated in the clients table and a dropdown appears with the options that match. From the...
asked by 22.05.2018 / 18:28
0
answers

Google Maps Javascript API does not work for me

I have a problem with the API because it does not show me the map and the browser console does not show me errors, I leave the code because I really can not find the error, my application is in Angular and it is not in production in this moment....
asked by 22.05.2018 / 18:47