Most voted "jquery" questions
jQuery is a Javascript library focused primarily on DOM handling, event management and Ajax, seeking to free developers from directly dealing with a number of browser compatibility issues.
Learn more…11,371 questions
Sort by count of
-
0
votes0
answers753
viewsDatatable create and populate table dynamically with server-side paging
Personal how can I make a form submission, a Datatable is created and populated with the result of the filter made in the form and make Datatable do server-side paging. Datatable Version: 1.9.4 The…
-
0
votes1
answer115
viewsAlert or Popup javascript after form validation in Sharepoint 2013
This is my first participation, please excuse the beginner mistakes. Friends, I need to make an Alert or a javascript popup or Jquery to use in Sharepoint form. I need it to give me a message if it…
-
0
votes1
answer194
viewsRun function only when user drops input type="range"?
I’m wearing a input[type="range"] as progress bar for a video player, it is when simulating the event to change the time of the video because I only want the action to be executed only after the…
-
0
votes1
answer136
viewsRecover Symfony action data in Ajax
Hi, I have a button that triggers an action Ajax that leads to a action in the controlador Symfony. In the action I can do the select and see the information I want, but I just can’t get it from…
-
0
votes0
answers35
viewsmodal open only once while the page is not closed
how to do for when the page is reloaded the modal I created not open again, but when I close the page and open again the modal open again as I do it? <div class="modal fade" id="myModal"…
-
0
votes1
answer134
viewsCustomizing Bootstrap WYSIWYG
Colleagues. I’m using Bootstrap’s WYSIWYG, but I’d like to remove some buttons, leave only the Normal up to the Underline. The code I have is: <script> $(function () {…
-
0
votes1
answer777
viewsOrganize object array according to one of its attributes
Well, it’s like the title said, I wonder if there’s any way I could arrange a array of objects of increasing shape according to the value of an attribute given to it. Example: var objetos = [] var…
-
0
votes1
answer189
viewsDecrease size of Spinner
I’m trying to use jquery’s Spinner, which by default has 8 fields, and is too big for my goal, which in case would be 2 fields. I already took a look at your documentation, but the most I could was…
-
0
votes1
answer398
viewsScript Manager on Masterpage but not working correctly
On the page I’m changing there was already a modal modalOrgao, and was already being used the Script Manager within the Master Page. This modal carries a gridview with its results, so far so good...…
-
0
votes3
answers106
viewsshow("show") does not work on firefox
show("show") is not working on firefox. This same code works on Chrome. What would be wrong? $('#conteudo').hide(); <?php if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] ==…
-
0
votes0
answers31
viewsAjax jquery error requesting rss
I’m trying to get the G1 RSS which comes in XML but error No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.…
-
0
votes1
answer69
viewsHow can I keep a component dynamically created with jQuery on the page?
How to keep an element dynamically created with jQuery on the page? When I refresh or return to the page, the element is removed.
jqueryasked 7 years, 5 months ago Emerson Vieira 315 -
0
votes0
answers45
viewsSubmenu in tag "area"
I have to develop this element that is in the middle (rendondo) : I never developed such a shape in HTML/CSS, so I resorted to tag <map> and made the following code: <div align="center">…
-
0
votes2
answers22
viewsCreate a one-size-fits-all box with scroll bar
I want to create a box that has a single size, but has a scrollbar on it to view the full content. I want to use this to detail something.
-
0
votes1
answer101
viewsjquery slideup/slideup effect does not work
Good afternoon everyone, I’m creating a gallery on a website but it has an effect on slideDown when you click on the image that descends a div that has a larger photo and a description. When I click…
-
0
votes1
answer58
viewsToggle() and position() method together in jQuery
Can toggle() and position() methods be used on the same line of code? For example: $("#palette-base-category-"+category).toggle("drop", 1000).position({my:"right", at:"right", of:null}); att…
-
0
votes1
answer513
viewsSwap image while scrolling down page
How to change the image’s SRC (With Jquery) when scrolling down the page and the scroll is larger than 10? Change the <img src="imagem_1.png" alt="Meu site"> for <img src="imagem_2.png"…
-
0
votes1
answer86
viewsHow to calculate the speed of a user’s internet connection?
I am trying to calculate the connection speed in MB of a user who access my site. But I couldn’t find much on the Internet other than ready-made programs and websites that already do that. The only…
-
0
votes2
answers250
viewsConcatenate string to all href of the page
I wonder if there is a function in jQuery that can concatenate to the page hrefs a string. My page behaves in a different way if my url contains #es or #pr, so I wanted to keep this comment at the…
-
0
votes2
answers667
viewshow to go through all elements of a php array with javascript
how can I go through all the elements of a php vector in javascript because my javascript only takes the last name but my 'var_dump()' is receiving all how can I do this someone can help me? php…
-
0
votes1
answer30
viewsTip on how to write my code better
all right? I would like the experience of you to give me some tips on how to improve the writing of my code. Follows: $(function() { preencheInformacoesDaTela(); }); function…
jqueryasked 7 years, 5 months ago Anderson Apdo de Souza 151 -
0
votes1
answer55
viewsHidden tr problem does not show in right place after returned json
I have a table that lists all users, a tr hidden where when I click on the Show Players button opens shows this tr with a table inside list below the user that I am wanting to show his players. What…
jqueryasked 7 years, 5 months ago César Sousa 2,025 -
0
votes1
answer372
viewsConflict between a Jquery call and a js file
I’m having a problem in a function using Jquery and a file I call inside my html that are giving conflict, it’s only working one, I tried using jQuery.noConflict() but apparently it didn’t work, I…
-
0
votes1
answer91
viewsJquery background input animation
Dear friends, I would like to do the following. I have two buttons, one interferes with the other’s value. When a field is changed I want the other field to gain a background and return with the…
-
0
votes0
answers28
viewsPage load equal G+
I’m taking a risk in PHP and making a simple administrative panel, without framework, to manage registered users, how can I load pages in the admin without reloading the side menu and the navbar…
-
0
votes1
answer82
viewsJQUERY how to add <p> tag
I’m new to Jquery and would like to know how I add two tags <p> without input, for example: <p>Valor do Pedido: <span id="resultado" class="resultado">5</span></p>…
-
0
votes0
answers1814
viewsFix first column and header of an HTML table
Hello, I have this fiddle exemplifying exactly how my table is: What I’m trying to do is, in addition to keeping the first column fixed, as it is exemplified in fiddle, where I followed an example…
-
0
votes2
answers98
viewsHelp with JSON and jQuery
Hello. I have the following code: Jsfiddle In it I have 6 checkbox from 0 to 5 stars, and when I click on a checkbox it filters a json displaying the hotel that has such star so far everything well.…
-
0
votes1
answer1184
viewsJavascript to check if popup blocker is active
I need to do Javascript for an application that checks if the popup blocker is active. I have the following code: $(window).ready(function(){ var Janela = window.open('', '', ''); if(Janela==null){…
-
0
votes1
answer39
viewsHow to take a selection of a <input type="image">?
I’ve been coding for the web not too long, and I can’t take a selection that stays when I click? Does anyone know how to take?…
-
0
votes1
answer128
viewsrange slider jquery
It is possible, set the values that will be between the minimum value and the maximum value, for example, I give the minimum value to 10 and the maximum value to 200, but I do not want the values…
jqueryasked 8 years, 10 months ago Michel Henriq 647 -
0
votes1
answer1729
viewsHow to open the number pad in a formatted field?
I have a text field that receives the CPF, it has a CPF mask, but as it is a text field, in Mobile it does not open directly on that number pad and when I change its type to number, it only writes…
-
0
votes1
answer631
viewsjquery.load does not load js or css
I am trying to load the "home.html" content into the div #content but it seems that it only loads a part of css and does not load sliders, code: index.html <!DOCTYPE html> <html…
-
0
votes1
answer114
viewsReturn value in UISLIDER input
I need to insert in a form a price range, I am using the noUiSlider with Jquery, it’s working, but I can’t get the chosen values, someone can give me a help? Example $("#slider-start").noUiSlider({…
jqueryasked 7 years, 4 months ago Marcos Paulo 649 -
0
votes1
answer102
viewsDatatable does not sort the field when changed the value locally
Good morning guys, I’m using Datatable to sort, but when I change the value locally of the status and without posting on the page Datatable seems to ignore my change and sort all the others but what…
-
0
votes1
answer168
viewsRemove messages from validate() jquery
Good people, I am making a form and I am using firebase to store the bank, but firebase does not accept correctly the function "Submit" of the forms, I am using the validate() of jquery, only that…
-
0
votes1
answer144
viewsText form in $('span.text'). text();
I would like to format text in the following line: $('span.texto').text('Enviamos um email para email@email'); I’d like you to stay: We send an email to email I tried to…
-
0
votes1
answer719
viewsCarousel that passes one image at a time and with thumbnails underneath
I found an example and was trying to modify to what I need. I need the image displayed on the carousel and the thumbnails to be larger than the example I found, but when I try to modify the carousel…
-
0
votes1
answer643
viewsLoad Json Search in JSP
Good Morning I’m trying to make this example in my project. It’s a simple change of Select when you choose State Change Cities in another Select. https://gist.github.com/ografael/2037135 But I can’t…
-
0
votes0
answers304
viewscapture html from an external page take table data and send via Ajax
Next, how can I capture pure html from a page, for example "site.com.br/tabela_precos" this site has a return basically like this: <html> .... arquivos e configurações javascript .... outras…
-
0
votes2
answers1184
viewsHow to update select with jQuery
Hello. I have a select <div class="seletor"> <select name="numeros" id="numeros"> <option value="1" selected="selected">1</option> <option value="2">2</option>…
-
0
votes3
answers401
viewsIdentify a <optgroup> with jQuery
Well I set up a select with jQuery, to identify a tag <optgroup> I have to wear a data-i, example: <optgroup label='PRODUTOS' data-i="1"> Do you have any way to identify the tag…
-
0
votes1
answer1560
viewschange select values with jQuery
Well the problem I’m having is that by clicking the button and changing the values of select, the effect is lost. A new select appears and I need to change only the results and keep the style. Does…
-
0
votes1
answer30
viewsJquery adds "Selected" in an option
I have the following code: <select id="billing"> <option value="485">Acre</option> <option value="486">Amapá</option> ... </select> When the user enters the zip…
jqueryasked 7 years, 4 months ago Rafael Schaffer Gimenes 121 -
0
votes1
answer53
viewsslideToggle(); for row in tables
$(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle("slow"); }); }); <div id="flip"><table><td>Maria</td></table></div> <div…
-
0
votes0
answers31
viewsHow do you get Pagetransitions implemented with Jquery?
Watch from the Wix website;…
-
0
votes1
answer38
viewsI’m not able to load properly
The system does the LOAD, but when I click a second time on any link the same duplicates the link and if you click again it quadruples and so on and the exit button only works on the first page that…
jqueryasked 7 years, 4 months ago Valter Junior 83 -
0
votes2
answers1164
viewsHow to know when an item is at the top of the page
I am developing a one page website with several sections (about, contact, services for example) And a fixed menu, the idea is as the user scrolls the page the fixed menu would change the active…
-
0
votes1
answer62
viewsProblem with Jquery Validation
Hi Good I have to make a code that validates a Form and I did all my code and when I went to see the validations did not enter I tried looking for errors and ways to solve and I myself could not…
-
0
votes1
answer1354
viewsConvert Json to Array with Jquery
I’m making an ajax request with jquery and Php like this: // arquivo php $json = array( "status"=>"true", "message"=>"inserido com sucesso" ); echo json_encode($json); . // arquivo js $.ajax({…