Questions tagged as 'javascript'

1
answer

error TS2558: Expected 0 type arguments, but got 1 - Angular

Good afternoon, my problem is this: I am receiving an error in each of the calls I make to the REST service. This error disappears changing anything in the code (including just "//" for example), but the first time it compiles it always fails...
asked by 08.12.2017 / 13:08
1
answer

How should I install the plugin in eslint

I want to install the eslint-plugin-jsx-ally but I get this error > [email protected] postinstall what should I do     
asked by 07.12.2017 / 22:00
2
answers

Have any of you done in php the following in a to show several maps with google map indicating the location of a place?

<script async defer> function initMap() { var esta_latitud=$("#map").attr("latitud"); var esta_longitud=$("#map").attr("longitud"); var uluru = {lat: parseInt(esta_latitud), lng: parseInt(esta_lon...
asked by 07.12.2017 / 18:26
0
answers

How to associate any javascript event (onmousemove, onclick etc.) using prototype objects

Good people see if you can help me I have a "class" called bar that you pass over a box is created but does not move and I would like to know why caja=document.getElementById("caja"); caja.style.width = "800px"; caja.style.heig...
asked by 23.12.2017 / 20:44
1
answer

Take the value of a cell in a table

Hello friends I am new in this I am creating an application to generate sales and I would like your help I want to take the returned values for quantity and products to get the total I hope you can help me greetings. @using DP_Prueba.Models @m...
asked by 06.12.2017 / 04:26
1
answer

Problem when combining droppable & draggable in JS

I have the following code: <html> <head> <script type="text/css" href="..css/jquery-ui.css"></script> <script type="text/javascript" src="../jquery.js"></script> <script type="text...
asked by 23.12.2017 / 20:39
0
answers

Keep selected an icon with .net

I am working with a .net c # form, what I'm doing is showing a <ul> of fontawebsome icons and the user selects one and changes the color to identify which one he selected, in other fields of the form I add RequiredFieldValidator to...
asked by 06.12.2017 / 20:23
2
answers

How to take a result, look for some of the inconvenient words of an array and change it by another word from another array according to the order?

I have this input: <form action=""> Primer Apellido <br> <input type="text" name="apellidos" id="paterno" / onkeyup="mayus(this);" onkeypress="Genera()"> <br> &l...
asked by 17.12.2017 / 02:11
1
answer

How to capture the value of a select or input text to send it by ajax

Good morning I am trying to capture the value of a select that is outside of a form to send it to a BD, with an example that I was given on this site I managed to send 3 parameters but the select always sends the first item and not...
asked by 17.12.2017 / 15:26
1
answer

Error JS with Modal "Can not read property 'clientWidth' of null"

I have problems with my JS which works for me after trying on link but not on my local machine, this is my local code both HTML (aspx) and JS <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=...
asked by 04.12.2017 / 18:08