Questions tagged as 'javascript'

0
answers

Can I install / use / import a component of vue.js 2 in a project already made with yii2?

I am behind the installation for its corresponding use of the following component 'dropzone' to vue in my yii2 project. The thing is that I'm fighting badly with him and I would like to know what I'm doing wrong or if directly, is that I can...
asked by 03.11.2018 / 16:19
0
answers

Validate Image in typeScript or JavaScript

I'm doing a form to collect user data in a web application, in which you can add an avatar through a input file . This I have limited to accept only files with extensions corresponding to images but my doubt lies in that I can create a fil...
asked by 02.11.2018 / 17:22
1
answer

websocket Error during WebSocket handshake: net :: ERR_INVALID_HTTP_RESPONSE

I'm having problems implementing websocket with php socket, I'm testing my machine but I can not find the problem and I'm already circling around. server      set_time_limit(0); $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); if (soc...
asked by 02.11.2018 / 17:51
0
answers

I can inject a data into an input from a website outside of my Domain

guys I have a query, I have a system that manages the generation and assignment of codes and serials of prepaid phone cards, there is a ONLINE system that is responsible for carrying out the recharge from the operator's system to the indicated t...
asked by 02.11.2018 / 20:24
0
answers

Javascript does not make changes to the HTML document

I would like to know the reason for the following problem: In a web application (JSP) I use javascript to make changes in the HTML and requests (AJAX) (GET method) to the server, the problem is that when I make the request to the Servlet, it...
asked by 02.11.2018 / 20:53
0
answers

How to consume a web service in laravel first and then visualize it in canvas?

PROBLEM I am trying to consume a web service that returns a series of data to me, I want to visualize that data through canvas. What I intend is to make statistics with the consumed data and visualize it in a bar graph created with canvas....
asked by 02.11.2018 / 21:21
0
answers

how can I connect my php system with the database

I went up to 000webhost, the system is already on the internet but there is no connection to the database and I do not know how to fix it. this erro throws me: Connection failedProxySQL Error: Access denied for user 'root' @ '2a02: 4780: bad:...
asked by 03.11.2018 / 23:54
0
answers

Event Cancel Dialog Print

You can capture the event of the print or cancel buttons from an html dialog ... I'm doing an example of printing a ticket but when printing I want to change the page, in my example I only found an event after the printing but if I cancel the sa...
asked by 08.11.2018 / 21:41
2
answers

Add href to a button

I have this button and I want to add a href to it, but since the page is made with an "Elementor" wordpress builder but I can not change it directly in the code, so I have tried with functions like this one that I found in other forums but It do...
asked by 08.11.2018 / 21:45
0
answers

Complete a datetimepicker with the data of another

I have 2 datepicker: . The first one shows a date when a record was entered In the second the date of edition is shown How can I make the second datepicker show the same value as the first one by default and also change the data of the...
asked by 01.11.2018 / 16:54