Questions tagged as 'javascript'

1
answer

Maintain features in a control after doing a PostBack

Greetings. It turns out that I have a Textbox that when it loses the focus it changes its background color, all this thanks to a function that I have over there in JavaScript . Later I have another Textbox that makes a Pos...
asked by 31.07.2017 / 17:47
1
answer

Change state a select to disabled

I have this design When I give the button assign it saves me the information in a table of sql and I need the select to be disabled and although I update the page always remain disabled . this is the jade table(...
asked by 24.07.2017 / 00:11
3
answers

Update attribute model to false when selecting another radio button AngularJS

Good evening to everyone: I'm working on a form with AngularJS. The idea is that by marking a field, more options are opened exclusive for that field (that is, only if that option is marked). And I can only mark a field of all possi...
asked by 19.08.2017 / 20:26
3
answers

Validate image by JavaScript

I want to validate the image through JavaScript where I want to validate the type of image (png, jpg, etc) and that the size is not greater than the one established. At the moment I've done this: document.querySelector("#imagen").addEventLi...
asked by 20.08.2017 / 16:38
1
answer

How to return a string with capital letters?

I'm trying to make a function that by passing certain arguments (numbers that act as indexes), with those numbers will change the indexes of a string (which I transform into an array) to CAPITAL LETTERS, but it does not return anything to me .....
asked by 09.07.2017 / 01:44
1
answer

onchange event in IE when modifying input value programmatically

I have noticed that in different versions of Internet Explorer the event onchange is not captured when the value of an input is altered by a function js, behavior that does not happen with other browsers such as Mozilla or Chrome. Inve...
asked by 08.07.2017 / 01:25
1
answer

Paint cell of a php dataTable

I have a problem that I have not been able to solve. I have a table with 3 columns. Nombre | Nota | Rango | ------------------------------- Pepe | 5 | Excelente María | 3 | Bueno Luis | 1 | Malo I...
asked by 09.07.2017 / 01:07
1
answer

Stop form submit then shoot from modal

I have a form that by clicking to send I show a modal to confirm, I could do the same with an alert but for reasons of aesthetics I show a modal that has a button, that button confirms the sending of the form I would like the modal button to...
asked by 22.08.2017 / 13:34
1
answer

Uncaught TypeError: Can not read property 'addEventListener' of null

I get this error from this line: document.getElementById("file").addEventListener("change",openImage,false); Some idea of how to solve it     
asked by 22.08.2017 / 20:59
1
answer

Error with bootstrap-table

I try to give the Bootstrap-table style to a table, but I mark the following error and I do not know why, if in other tables it works: Uncaught TypeError: Cannot read property 'field' of undefined at HTMLTableCellElement.<anonymous>...
asked by 21.08.2017 / 22:57