Questions tagged as 'javascript'

1
answer

Onclick event on touch screen

I am developing a project in laravel 5.5, the problem is that when I want to unlock and run the onclick event on a touch screen, I do not run it. How can I do it so that it runs on a touch screen? here is the code <li> &...
asked by 06.12.2017 / 18:35
1
answer

Javascript does not recognize "Certain chains"?

I have a button (MODIFY) that when you press it puts in an input type = text the input value of a form. It does fine with normal numbers , but not with numbers 1B: 3B: 3B: 4B: 5B: 6B or with 1C-3C-3C-4C-5B -6B It does not even ent...
asked by 02.12.2017 / 18:31
1
answer

Google Chart and AngularJS

I have a small concern, I currently need to generate statistics of records by dates of the year: MYSQL CONSULTATION SELECT fecha_registro AS Fecha, count(*) AS Registros FROM persona WHERE id_tipoUsuario = '4' AND empresa_per = '$id_empr...
asked by 04.12.2017 / 13:37
2
answers

Hello Friends, help with "Return" button does not work and generates an exception!

What happens is that I'm validating events with <a></a> and the detail that these are to return when filling out forms, the problem is that I do not know how to handle some exceptions because they generate these errors:...
asked by 27.11.2017 / 19:13
2
answers

show and hide items

I would like you to help me, I need to know if it is possible to do this or I am just wasting my time. I need to hide / show certain fields that are a combobox, I know that they can be hidden or displayed when selecting a checkbox or a combobox,...
asked by 27.11.2017 / 17:58
1
answer

Pass the result of a variable to quotes

I need to pass the result of a variable and that it is enclosed in quotes. document.getElementById("plano").addEventListener("keyup", blueprintControl); function blueprintControl(event){ var id = event.srcElement.getAttribute("id");...
asked by 24.11.2017 / 04:03
1
answer

Because the error Can not read property '0' of undefined in a two-dimensional array

Hello everyone I have the Error mentioned when I want to store data, I keep in a coordinate arrangement and then when I want to store it, it says Error . //Declaracion de variables var coordinates = []; var valid = 1; function ad...
asked by 28.11.2017 / 01:11
2
answers

How to make an image responsive in a background within a select arrow!

I hope and they are well, what happens is that I have a problem when making responsive the arrow of a "select" or "comboBox" element here is the css code where the image is loaded: .selectArrow { background: URL(../img/unfold-icon.png) no-...
asked by 24.11.2017 / 23:09
1
answer

Graphics with canvasJS does not show - jQuery

I'm trying to run this example: link Without having results: But if you bring data with the console.log(result) of my Ajax [{"Total":"2","fecha":"2017-11-20"},{"Total":"3","fecha":"2017-11-21"},{"Total":"3","fecha":"201...
asked by 23.11.2017 / 19:24
1
answer

Own Javascript is not recognized

I am developing an application in XAMPP with PHP and JS. I have the folders arranged in this order: 1) app/asset/css (I save the css files, 'bootstrap' and my main one) 2) app/asset/dist (I save the js files, 'bootstrap',...
asked by 24.11.2017 / 23:39