Questions tagged as 'jquery'

1
answer

jquery code and problem with chrome

I'm having a hard time in the following jquery code. JQUERY $(document).ready(function(){ $('#expand').click(function(){ $(".container-fluid").slideToggle("slow"); }); }); $(document).ready(function(){ $('#expand2...
asked by 22.07.2015 / 07:21
0
answers

How to go through the whole loop

I have a small problem so all radio is filled with everything in the array accordingly. I'm trying to do the following, example: 1 - Quanto é 1+1? A) 1 B) 2 C) 3 D) 4 E) 5 2 - Quanto é 2+2? A) 5 B) 4 C) 10 D) 20 E) 70 The alterna...
asked by 24.05.2015 / 15:55
1
answer

Forward button - back on a slide

Well, I made a slider and it's working. But it goes forward automatically, so I want to know how I can add a button to go through and go back to the previous slide. function simpleSlider(){ var sliderActive = $("#slider .sliderActive")...
asked by 12.05.2015 / 15:14
1
answer

Jquery json with index

I need to create a Json result, where the state is the index. <?php //header('Content-Type: application/json; charset=utf-8'); require_once('Connections/conexao.php'); $selec = "SELECT estado, kg, valorCap, valorExcedCap, valorAloremCap...
asked by 13.05.2015 / 02:00
0
answers

dataTables jQuery does not work correctly with accents

I am using the dataTables plugin of jQuery and the problem is happening because of accented words. For example, you have several items in the list, and one of them is called coffee . If in the search bar I look for coffee , it wi...
asked by 17.05.2015 / 04:12
1
answer

Google translate script does not translate and does not generate error

I'm using the following script to translate a website. <div id="google_translate_element"></div> <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> <sel...
asked by 10.06.2015 / 14:53
2
answers

Dynamic Combobox with jQuery + Laravel

I am on a sign-up screen where there is a combobox of State and Cities. City must be populated after state is selected. I have create.blade.php <div class="form-group"> {!! Form::label('estado', 'Estado:') !!} {!! F...
asked by 10.06.2015 / 16:38
0
answers

How to work with Jquery Mobile collapsible and Ajax Synchronous?

Gentlemen, I have a collapsible that when clicked calls an Ajax synchronization and displays the results inside it . I'm having to make it when it's clicked to display that gif while not receiving the Ajax response. The problem is that since...
asked by 08.06.2015 / 04:44
0
answers

Update multiple divs on one page

I have a page where I need to update some divs with information coming from the bank. With this I'm doing it this way: <div id='diva'>conteúdo a</div> <div id='divb'>conteúdo b</div> <div id='divc'>conteúdo...
asked by 08.05.2015 / 20:46
1
answer

Element Position Before Dragging - Droppable - jQuery

I'm making a game and I need to grab the position of an element before dragging it. I'm using the Droppable function of jQuery UI. jQuery $("div.cesto").off().droppable({ accept : "span.piece", // Quando coloca o mouse em cima do...
asked by 18.06.2015 / 15:24