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
-
3
votes1
answer396
viewsReturn only a certain element of the current page with jQuery AJAX
Personal I am needing to pick up only one element of the current page returned via AJAX. The element I need is the id="main". The most I could get is the full page, but I just wanted this element…
-
3
votes2
answers1399
viewsFind element in HTML and add a class with pure Javascript
I need to locate a class called uk-slideshow inside the HTML, after locating, I need to check inside the uk-slideshow image, if you have, add a class in this img. PS: It’s more of an image. The…
-
3
votes2
answers74
viewsList-group toogle with jQuery
I tried and I couldn’t. I have a list of Bootstrap and I need to make sure that by clicking on the item .active, the rest below open with the .toggle(), but I can’t do it, you’re behaving very…
-
3
votes1
answer877
viewsPaging with Owl Carousel
I’m trying to do with a pagination format with Owl Carousel, I did as per this answer, but I couldn’t get past it. <link rel="stylesheet" type="text/css"…
-
3
votes2
answers159
viewsPost does not send the information
I need to send some information by POST to my controller, and at the same time pass a parameter in the URL. The Url Parameter I can take it easy, the problem is that the POST parameters will not. I…
-
3
votes0
answers330
views -
3
votes2
answers94
viewsJquery event in the first input runs on all others
Hello, I have a problem with inputs, see the code below: // fixar descrição do campo var campo = $('.campo-formulario'); var descricao = $('.descricao-campo'); campo.on('input',function(){…
-
3
votes2
answers84
viewsGroup Messages by PHP date, Jquery
Main fields MYSQL id, message, date I would like it to be displayed this way in the chat 26/02/2019 - message 1 27/02/2019 - message 2 - message 3 In a way I managed to group by date, below is the…
-
3
votes3
answers1089
viewsFunction - show password!
I rephrased the question, what I’m trying to do is the following, Goal is to do the same as IE does in inputs type password! <style>.show_key{display:none;}</style> <script…
-
3
votes1
answer267
viewsSwap background-image with delay via jQuery
I’m trying to make a transition from background images via jQuery, with fade-in and fade-out effect and swapping this image, below follows my code. $(document).ready(function() {…
-
3
votes1
answer213
viewsTake specific position in . each
I made a noose .each that returns some button: $(document).ready(function(){ listarPedidos() var consultas = setInterval(listarPedidos, 4000); }); function listarPedidos(){…
-
3
votes1
answer228
viewsModal does not work (synchronous AJAX)
When using this JS code, using Jquery: $(document).ready(function(){ $('.visualizar').click(function(){ $('#container').fadeIn(300); }); }); function visualizarDados(codContato){ //↓ função do ajax…
-
3
votes2
answers53582
viewsAccess to Xmlhttprequest has been blocked by CORS policy
I have two Flask applications running locally on my machine. One is running on port 5000 and the other on port 5050. I need to make a 5000 app call to 5050. But I’m having this problem: Access to…
-
3
votes4
answers120
viewsSimplification of the jQuery code
Hi, I’m starting programming in jQuery. I’ve moved a little but I don’t know that much. I am making a simple code for checking blank fields in inputs from a login screen. This is the code:…
-
3
votes1
answer45
viewsjQuery code for Typescript
I am passing a code I had done in jQuery for Typescript, and am having a problem with this function, because of the .filter(), that actually, from what I understand, does not exist in Typescript,…
-
3
votes1
answer98
viewsCarousel change only after gif is finished
I’m sorry if I already have that topic, and I looked and I found nothing. I have the code below where I need Carousel to only switch to the next one when the gif is finished. Following image1 after…
-
3
votes1
answer317
viewsSelect multiple options in select
I have this select: <div> <label for="Indicar">Colaborador: </label> <select class="form-control" name="Notas" id="Notas26"> <option></option> <?php $sql =…
-
3
votes1
answer1209
viewsPOST communication Ajax for Flask
I would like a help with a Python application using the Flask framework, I want to send and receive data via Javascript using Ajax, but I’m not sure how to do, all I got was a collection of…
-
3
votes2
answers37
viewsDoubt as to whether to exclude specific elements of the clone() function
I have a doubt about the exclusion of specific elements when I use the function clone(). I wonder if I can rule out the elements <b> when I call the function. That is, what is written "Item",…
-
3
votes2
answers689
viewsDisable link with jquery
Good afternoon, you guys, I’m having a problem trying to disable a link using jquery. The problem is this, There is a table that lists the types of roles a user can have in the system that presents…
-
3
votes1
answer156
viewsFilter elements if child element of elements has a certain class
The title of the question is already very self-explanatory. I’m trying to filter elements (div) depending on whether their child elements have determined(s) class(s). I found the simple code below…
-
3
votes1
answer33
viewsClick run suggestion function
I’m making a keyboard https://codepen.io/patrique-alves/pen/oNvbwBw It gives suggestions according to what the user is typing, my suggestion script works when I type through the physical keyboard,…
-
3
votes1
answer54
viewsMultiple Choice Fade Effect Quiz
In a multiple choice questionnaire (options 1 to 10), I’m trying to make the effect that the question gets low opacity at first, but when it receives the Focus or click, regardless of the question,…
-
3
votes2
answers55
viewsDropdown closes every click
Good morning Guys, I have a dropdown where I have several checkboxes contained in it. However when I click on any checkbox the dropdown selects only it and closes, I wanted to keep the dropdown open…
-
3
votes2
answers156
viewsCheck if automatically filled field is "True" jQuery
I have the following fields <input type="text" value="" name="campo" id="campo"> <input type="text" value="" name="campoRecebeDados" id="campoRecebeDados"> And the next jQuery:…
jqueryasked 5 years ago Sr. André Baill 6,946 -
3
votes1
answer152
viewsPdf preload with Javascriipt or Jquery
I have an input file type and I need to generate a Preload partially showing the content of the pdf. I have the following code <label for="">Selecione o arquivo de orçamento</label>…
-
3
votes1
answer179
viewsHow to pass the return (JSON) of a getJson request within the date where the chart values will be?
works as follows, has a . js that have the graphics assembled, but with the values inserted directly, I’m having a hard time finding content that fits directly into this example that I’m using, I…
-
3
votes2
answers327
viewsJavascript run one click at a time
I have a problem when I click the button it triggers the function the amount of times clicked. when I click 3x in a row it fires the same 3x function generating slowness. how do I solve, code:…
-
3
votes0
answers26
viewsHow to check all Checkboxs on my Grid? Not just the first pagination
var grid = new WebGrid( canPage: true, rowsPerPage: 10, selectionFieldName: "selectedRow", ajaxUpdateContainerId: "gridViewCV", ajaxUpdateCallback: "ajaxWebGrid"); var columns = new…
-
3
votes2
answers1775
viewsBy clicking the scroll down button to the end of the div
I have a div which is actually a Bootstrap 4 modal. What I want is that when the user clicks the button, the scroll descends to the end of this div, so that the alertSuccess() message is displayed…
-
3
votes1
answer187
viewsHow to interrupt the execution of jQuery each?
I have a problem going through Rows (from one DIV that is inside another DIV) with the method each. When a condition is true, I need to interrupt the loop and display a message to the user, but I’m…
-
2
votes1
answer127
viewsHow to avoid infinite loop in the function/call that reduces the font size?
I created this small extension of jQuery that aims to reduce the size of the text by setting font-size CSS based on the overflow of its container. The operation is simple, find the current font size…
-
2
votes3
answers526
viewsTag script is not printed with jQuery
I need to print a script using jQuery however, all the code is printed and the script is not, does anyone know how to solve it? Follow code below: codigo = '<div id="teste"><input…
-
2
votes3
answers1254
viewsEffect on jQuery
How to make an effect in jQuery, that when using SCROLL the Divs and the elements appear in fadein, as in this site: http://www.neotokio.it/…
-
2
votes3
answers1664
viewsHow to use a Cookie as an Array in Javascript?
Doubt: I would like to know a way to use a Cookie, as if it were a Array. Problem: I can’t imagine how to do that. Example: Suppose I have one Array called Foo which would be as follows: var Foo =…
-
2
votes1
answer477
viewsDOM update via jQuery Mobile
I am having trouble updating an element, through jQuery. I will summarize the codes: HTML <div data-role="header" data-position="fixed" data-tap-toggle="false"> <a href="#nav-panel"…
jqueryasked 10 years, 9 months ago Alexandre Bonfá 135 -
2
votes1
answer100
viewsFormatting of subGrid in IE is not configured
var subgrid_table_id; subgrid_table_id = subgrid_id + "_t"; jQuery("#" + subgrid_id).html("<table id='" + subgrid_table_id + "' class='scroll'></table><div…
-
2
votes1
answer230
viewsPlupload - Refresh the page
I’m working on an online platform for the company I work for. On this platform I use Plupload to upload images. Everything’s working fine, except for one part. After the images are loaded (100%) I…
-
2
votes1
answer80
viewsFlowtype is not updating when it maximizes/restores window
Flowtype is not updating the correct font size when I load the page without the window being maximized and maximized. When the window is maximized the font appears in the size it should be when it…
-
2
votes2
answers4360
viewsHow to fix column in table accessible?
I have a table with several columns and I need the first column to be fixed on the table. However, all the "ready" solutions I found create two tables, which is inaccessible. I need the result…
-
2
votes1
answer1044
viewsReturn javascript result with controller
It is possible within a Controller to return a javascript action and proceed with the controller script ? Example: Call to Login page: <li><a href="javascript:" link="{{ route('login') }}"…
-
2
votes1
answer3861
viewsHow to insert HTML content in the div with jQuery without using " (reverse bar and double quotes)
I use a CMS called uCoz and it has a variable <?$RELATED_ENTRIES$(5)?> which displays posts related to the page my visitor reading. I would like to put the related lines between the text of…
-
2
votes1
answer741
viewsCopying one Datepicker to another and incrementing one year (jQuery UI)
In a project of mine, I have two fields configured as datepicker (jQuery UI). Only the first is editable (InitialDate). The second (FinalDate) must have the same value as InitialDate plus one year.…
-
2
votes1
answer1213
viewsconflict with jquery googleapis
I am importing several Aces to the same site, the problem is some stop working. For example, one api to make an autocomplete, another to make an effect in the menu and another to a feedback box. Is…
-
2
votes2
answers680
viewsjQuery Toggle Animation
I’m trying to make an animation that behaves like a toggle. What I want is that with the click Event on #admin > p, this deviates to the left while the #admin > form, #btn slideup and go back…
-
2
votes3
answers1069
viewsjQuery multiline highcharts
I have an MVC application and would like to clarify some questions on how to implement a chart with database data. I am using jQuery to get the values from the database, but did not understand how…
-
2
votes1
answer506
viewsjQuery validation plugin + tabs
I created a simple flap system with hide() and show(). Within each of these tabs (dynamically listed), there will be several checkboxes (also dynamically listed). The user will not be required to…
-
2
votes2
answers167
viewsHow to use Jquery Custom Scrollbar on elements with display:None
It does not mount the scroll bar on elements that are "display: None". Does anyone know how to solve? Here the scrollbar plugin…
-
2
votes2
answers634
viewsajax duplicating div
The function $.ajax is working correctly, but the return of the data being entered inside the div <#exibeCep> is being duplicated when the user clicks several times on the button. I tried to…
-
2
votes1
answer521
viewsVertical bars valued with Flot.js
Hello. I use the Flot.js to plot a graph "Stacked Bars" example but I wanted to insert the bar values "inside" the bar, and not simply in the tooltip. Someone knows how to do?…