Questions tagged as 'javascript'

2
answers

error when validating with jquery-validate in wizard bootstrap

I'm doing a web application with a bootstrap wizard the first screen has a form that is valid with jquery-validate, in the second section of the wizard I have an input and a button that generate a table according to the number of rows that the u...
asked by 08.06.2016 / 21:04
3
answers

Select2 jquery remove message "please enter 1 or more characters in select2"

I want to remove that message, any form? Here the html: Here the jquery:     
asked by 13.06.2016 / 17:33
3
answers

How to access the contents of an associative array that is inside another array?

I'm trying to create an array of arrays where the arrays inside are associative arrays but I do not know how to access them. This is my code. var meses = {enero:31, febrero:29, marzo:31} var año = []; año.push(meses); cons...
asked by 17.06.2016 / 20:30
2
answers

Change background color of an input when it is not empty [jQuery]

Good people. I am trying to fill in an input itself change its background-color , this would have to be done dynamically, without having to click on a button or reload the page. I tried this, but it does not work: function ActiveInput...
asked by 30.05.2016 / 15:59
2
answers

Force two decimal places in input type="number"

I have been asked for something a bit weird, that the fields input numeric of a JSP page have 2 decimals by default. So far everything is normal: <input type="number" step="0.01" /> Now, the client wants the quantities to AL...
asked by 10.03.2016 / 12:54
1
answer

how to create a table from data entered in the form in a popup in jquery?

I have a form in an index.html, this form contains material information that is removed, in a column of this form there is an add button, which raises a popup with another form that is the detail of what will be unsubscribed (item, quantity, con...
asked by 20.07.2016 / 15:35
2
answers

change the class of i with JQuery

Hi, I want to know if I can change the class of <i> with jquery that is with .attr but I do not know how to capture the or select the <i> , what I want is that when I click on the class I know that it is an icon, change...
asked by 19.06.2017 / 15:40
1
answer

Is it possible to remove the header and footer when printing with browsers?

I would like to know if it is possible to automatically deactivate the headers and footers generated by google chrome or firefox. Date, title of the page, URL address and number of pages. There is a manual way, giving you other options and...
asked by 29.03.2017 / 20:07
2
answers

Problem repositioning img on canvas with keyListener

I'm trying to move wolf with the arrows on the keyboard, but I can not get more recharge the position of all animals, except the wolf, and what I want is to move the wolf with the arrow pointing up. I'll put the rest of the keys when I get them...
asked by 09.05.2018 / 20:09
2
answers

Structure Json in html

everyone, Thanks for watching my question, I hope you can help me. is the following .. I have the following code. in html <div id="summary"></div> In Js I have function callurl() { $.ajax({ url: 'https://j...
asked by 27.03.2017 / 18:13