Questions tagged as 'javascript'

2
answers

process data from php-mysql to json

I have a series of php, ajax and js files to be able to process my information obtained from my database (MySQL) and at the same time I want to send them to a modal using a .js So far I can get my result from my query using a var_dump:...
asked by 05.01.2018 / 14:53
1
answer

question about getUserMedia

Hi, I'm good at this, I do not understand why it is necessary to do an if here, (navigator.mediaDevices & & navigator.mediaDevices.getUserMedia), if my mediaDevices object and my getUserMedia method is true enter the block, but I could skip...
asked by 05.01.2018 / 12:44
1
answer

As valid that when an excel does not contain anything, do not download it by javascript?

How can I validate from my next code js that when the answer is null do not download the file excel and be able to display a message. I already generate the excel with the data but in the case that it does not contain...
asked by 29.09.2017 / 12:45
1
answer

Upload an image by HTML URL - JS

Good morning I'm doing a form in HTML with JS and I have a field to enter an image by URL my idea is to enter with an input type { input type="url" placeholder="Enter URL of the image" > } My question is how can I show the image...
asked by 01.10.2017 / 05:10
1
answer

problem with an increaseable form

Hello friends I have the following problem I have an incretable form inside an html table, everything works perfect, the problem is the following in incremental form I have a drop-down list, when I choose the option of another user I enable an i...
asked by 07.10.2017 / 14:01
2
answers

Return query data with PHP and Json

Greetings my problem is this, I'm trying to make a query with PHP and jquery, where I send an empty data, just so that it returns a row of the MYSQL database but when I show the data in the HTML it gives me this [object Object][object Object]...
asked by 26.09.2017 / 23:43
1
answer

I can not install opus node [closed]

I do not install node opus I get the error, I've tried to reinstall all the packages related to this and does not work any suggestions? The error is as follows: link 0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodej...
asked by 27.09.2017 / 15:08
1
answer

Capture the HTML of a SELECT, which uses the editableSelect Plugin

I have the following code: $("#idSelect").editableSelect({ effects: 'fade', duration: 'fast' }); To take the value, I realize: $("#idSelect").val(); // Funciona bien! Now I want to take the HTML of the select (all OPTION): $...
asked by 07.10.2017 / 21:36
1
answer

Problem with message programmed in JavaScript

Well my problem is that I have this function in JavaScript: (function () { var c = document.getElementById("c"); c.addEventListener('click', function () { // VARIABLES QUE CONTROLAN LAS CAJAS DE TEXTO DEL HTML var x=d...
asked by 26.09.2017 / 23:19
1
answer

How can I see the alert messages in PHP before I redirect to another page?

I want to show what happened when saving an image in the database and then redirect to another page with a header, and I can not see the alert messages indicating if the image was saved. This is my code: <?php require 'conexion.php';...
asked by 26.09.2017 / 00:26