Questions tagged as 'jquery'

1
answer

problems with autofocus in custom input [duplicate]

guys I created a custom input, it works 100% the problem and autofocus is not working. Can anyone help me? Follow the code jsFiddle     
asked by 19.02.2016 / 17:23
1
answer

How to manipulate a TD using Jquery

I have a value in a TD and I need to recover it, it's a calendar and every date I click on the calentario there is a different class on each date, I need it, when I click on that date, I can recover the month and year of the day I clicked, I hav...
asked by 22.03.2016 / 20:33
2
answers

Duvida TD Jquery [duplicate]

I would like to retrieve the name of a class from a TD , follow my code. var dateSelectClick = $(target.element.text); console.log(dateSelectClick); return of this is n.fn.init {} I would like to return a string with the n...
asked by 22.03.2016 / 19:59
1
answer

Dropdown Asp.net MVC

I would like to do two dropdowns in a view, I do not want to do these dropdowns through the model in the view because each dropdown is of a different class. I made the dropdowns with angular.js only because I could not get the values when sub...
asked by 23.02.2016 / 18:42
0
answers

Update fields using jquery and gem cocoon

I'm using the cocoon gem of rails for child form creation. When creating the child form, a field called barcode is read and, via ajax, I get the product information and fill in the form fields. This is working correctly, however, when saving, th...
asked by 23.02.2016 / 18:50
1
answer

jquery prepend moving page

I have a div that contains several lists (uls) of a box, in each box has an image and a description. I'm implementing an infinite roll up as follows: The user accesses a specific page (ex page 6), each page has 5 uls. Home When the page is...
asked by 23.02.2016 / 22:05
1
answer

Running json using jquery Ajax

I have a question, how can I go through Json and retrieve specific objects through ajax? Code : function loadJson(){ $.ajax({ url: "data.json", context: document.body }).done(function() { $( this ).addClass( "done" ); $(".done").l...
asked by 24.02.2016 / 13:15
0
answers

Create auto complete in input?

I want to do a autocomplete effect on a input , as a prompt, eg I have the following commands in a array php: ADD SUB SHOW MUL I want to make it start typing, for example typing " A ", display a kind of placeho...
asked by 24.02.2016 / 05:13
0
answers

Problems with DATEPICKER, using only month and year

Good afternoon guys I have a problem with my datepicker plugin I'm only using month and year in it, and by selecting a month and a year, the month instead of coming in number, for example 02, that is, February, it comes in string, and English st...
asked by 18.02.2016 / 15:31
2
answers

How to avoid toggleClass method propagation in click event

In the code below I have two toggleClass (they are in total 12) that are working properly, however I need it to be expanded only 1 , ie if I expand the primeiro and then the second, immediately primeiro must be suppressed. At th...
asked by 15.02.2016 / 21:21