Questions tagged as 'jquery'

1
answer

Problem to query within second Dropdown

Always enter the ajax error: error: function (ex) { alert('Failed to retrieve vigararias.' + ex); } Screen Error:    Failed to retrieve cheaters. [object Object] View: <script type="text/javas...
asked by 15.01.2016 / 13:24
1
answer

Limit number of characters per line jQuery

I have some fields textarea and I want to limit the number of characters per line using jQuery. I do not have code to still handle Laerte, I do insert into the database with php and display in html with php nl2br to break the line. I...
asked by 28.01.2016 / 19:59
2
answers

Do not load data in the picklist (jquery-ui + angularJS)

using: link I can not load data coming from my client table into the picklist. It was already working on another template, changed the template in the company and I'm adapting to the new components. I got this picklist from outside, because...
asked by 28.01.2016 / 14:26
2
answers

How to check duplicate elements in array?

I need to know if an array in JavaScript has duplicate elements. Is there any function in the jQuery API that does this? If not, how can I proceed?     
asked by 17.03.2016 / 17:40
1
answer

Adding elements with Jquery

I would like to know how I add elements above and below various paragraphs with jquery. Let's say, I have to get the third paragraph and add a <div> and I finish the </div> in the penultimate paragraph. <p>1<...
asked by 17.03.2016 / 01:22
1
answer

How to do a period-limited search with datepicker?

I have a data_inicio field and a data_fim field. I need to use datepicker on both. I want, when I select the date data_inicio , the data_fim field is affected, so that only subsequent dates of data_inicio ar...
asked by 18.03.2016 / 14:45
1
answer

Jquery code does not call Metodo in controler

I'm not sure how to use a jQuery method. I want to get a list of countries. Follow the code to help me know where I'm going wrong. < script type = "text/javascript" > $(document).ready(function() { $('#btnPais'...
asked by 27.02.2016 / 21:28
4
answers

Get divs with certain class

I need to make a system to delete messages, these messages are placed inside div's, where I divide like the html below. As in check box there is a place for the click, I separated a div that will simulate the movement of a click, when clicking o...
asked by 05.01.2016 / 18:02
1
answer

Reload multiple images using Jquery? How to optimize?

I have an update of multiple images using Jquery: window.onload = function() { setInterval(function(){ $( ".image" ).each(function( index ) { base_url = $(this).attr('src').split('?rand=')[0]; address = ba...
asked by 23.03.2016 / 19:42
1
answer

Why does not my Owl Carousel work? What am I installing wrong?

I'm setting up my owl carousel "custom" and I can not get it to work on my computer. I did everything as documentation does, but it does not work at all. The only thing that appears is the words of the next and prev, without any formatting, as i...
asked by 12.02.2016 / 12:51