Questions tagged as 'javascript'

1
answer

org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

At the time I am presented with an error that I have not been able to resolve in different forums.    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for> JSP       PWC6199: Generated servlet error:   source value 1.5...
asked by 30.03.2017 / 14:36
0
answers

select2 ruby on rails 5 does not work

application.css.scss *= require toastr *= require jquery-ui *= require select2 *= require select2-bootstrap *= require_tree . *= require_self */ @import 'bootstrap-sprockets'; @import 'bootstrap'; @im...
asked by 04.10.2017 / 22:27
2
answers

How to take the first letter inside a String in Javascript if the first character is a number?

For example    12kghggdhfj74ghg8hgh From the string I should take the 12 and the k but the text can change can be    127rnbvcx And from there I should take the 127 and the r and save it in each variable...
asked by 04.10.2017 / 23:17
1
answer

Send data to the controller

I defined a default value in a form that I have in a view (@ Value="afar1793") and I set it disabled so that it could not be modified but when it gets to the controller it becomes null. I have this in my code: View: <div class="form-g...
asked by 26.03.2017 / 23:33
1
answer

Modify and read span from jquery with the function load

I hope you can help me. I have problems when from jquery I intend to read the value of a span after calling the load () function. The span is created dynamically by javascript each span carries an input that is also created dynamically. all the...
asked by 26.03.2017 / 23:18
1
answer

Uncaught TypeError: Can not read property 'type' of undefined - Javascript

I want to clean ALL the fields of the form that are of type "text", it works correctly for me but in the console I get the following error: formulario.js:175 Uncaught TypeError: Cannot read property 'type' of undefined Code: function li...
asked by 25.05.2017 / 11:21
1
answer

DO NOT delete an object using a form field - Javascript

In a formulario there is a "Delete" button, whose HTML code is the following: <input type="button" id="eliminar" value="Eliminar disco"/> Form which exists a field called "Name" with id="nombre" , which can be passed a na...
asked by 25.05.2017 / 13:04
0
answers

click file upload

Good morning, I'm working with the jQuery-File-Upload plugin and I have a problem with the chrome browser, I have a botton that is in two different menus when I'm in the main menu and I click and open the dialog box to Upload an image, but when...
asked by 25.05.2017 / 14:31
0
answers

Send checkbox data when clicking on the input

I update the question: I'm trying to find a way to create a functional I like button. For this I have thought about creating a small <form> in which there is an input type checkbox and a label, which is an icon. Visually only t...
asked by 25.03.2017 / 22:53
0
answers

why does my game stop using Phaser?

Hello Developers , I was developing the Space Invaders game in a library called Pherse.js (JavaScript). When two objects collide (bullet) vs (enemy) my screen freezes, led I leave the code in JS: JS: var fondoJuego; var nave; var TecladoInpu...
asked by 14.04.2017 / 18:28