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
votes1
answer24
viewsAutocomplete shows options but does not filter as typed
I’m a beginner in Jquery and I’m having the following problem: I need an input where I use the autocomplete to select the municipality I want. It displays the options, but is not filtering as the…
-
0
votes0
answers66
viewsOpen and close menu button
Good evening guys, I’m new to programming and I’m trying to put on my web page an open and close menu button. I apologize if it’s repeated, because I couldn’t find one that looked like mine, so I…
-
0
votes0
answers12
viewsGet html and scripts
Has an options panel that changes constantly. I display it in a sweetalert that way: $(document).on('click','#acoes',function(){ $.get('acoes.html', function(data) { Swal.fire({html: data}); }); });…
jqueryasked 3 years, 11 months ago Pedro Augusto 2,392 -
0
votes0
answers25
viewsTouch in dropdown list does not work
I created a dropdown menu using HTML and CSS and made a configuration with Jquery, for when I pass the mouse over, this dropdown menu opens. But on mobile this doesn’t work, how to set up to have a…
-
0
votes1
answer54
viewsHow to add an HTML element with line breaks by Javascript?
I’m trying to put a modal inside a .append(), but I’m not getting it. As HTML is very large, it ends up breaking lines before reaching the end of the complete block. So, because it is not in a…
-
0
votes1
answer17
viewsHow to select ID’s with Jquery when a form is generated dynamically and we have block repeats
I have a form that is generated dynamically by PHP with values coming from the database. In one part of the form I have a group of Infos that will generate a repetition of part of the form where I…
-
0
votes0
answers27
viewsHow to scroll through one or more table html and your table html daughters?
How to go through all the tables and their daughter tables, because I need to make a sum of the columns "Value"? Tables are created dynamically according to the return of the Ajax function. I can…
-
0
votes1
answer27
viewsChange Css with Jquery in multiple elements, one by one
I have a code, which changes the CSS of the element SELECT based on the value that is currently selected. The problem is that I have over 100 Selects to apply this effect, but my code only reads the…
-
0
votes0
answers16
viewsPaging with jquery event
I’m having difficulty conducting a search when I call the 2nd of the search performed. I have an input field, in which the user when entering the data is triggered an event and performs the search…
-
0
votes0
answers25
viewscnpj mask does not work
I have a screen that is possible to consult Cpf and cnpj.. the mask for Cpf works, but pro cnpj I get an error saying that the function is not defined and as js is far from being my strong... I’m…
-
0
votes0
answers38
viewsHow to load the Page and Image using jQuery
I already have the code to load the page itself but the image of the pages are in a different folder then does not click next to the page, that’s the problem. <html> <head>…
-
0
votes0
answers19
viewsPass parameter dynamically to Jquery plug-in
I have a javascript/jquery code that saves a new one on my system, in this code I want that when the request fails to be executed a notification plug-in, I wanted to pass to this plug-in the data of…
-
0
votes0
answers34
viewsHow to make use of deferred and when in this application?
I created 3 functions, where each one makes a request ajax The first: checkFila() check if there are any outstanding schedules, if yes, call the second. The second: sendEmail() send the email that…
-
0
votes0
answers19
viewsHow to insert a value using Event keydown or keypress with Javascript / Jquery
I would like to know how to insert a word into the value of a input using keydown or keypress instead of setting the value by a method. For example, I don’t want to use a method like:…
-
0
votes1
answer39
viewsMake effect of Houver with jquery transiting between elements
I am trying to make an effect that by hovering the mouse over an element, if it is not selected; display the effect, in my case a text color change. Unfortunately, I’m having some difficulty. I left…
-
0
votes1
answer20
viewsEvent is not triggered in Safari mobile
I have this div in my Html, when clicked, opens the file explorer, through the Plupload, to upload a pdf: <div @(Convert.ToInt32(documento.CodDocumento) > 0 ? "style=display:none" : "")…
-
0
votes0
answers15
viewsdynamically popular input with jquery/ajax/Laravel
I have a proprietary select that populates another select with the farms that it owns and with that I am trying to popular an input that brings the city and other input that brings the state of the…
-
0
votes1
answer23
viewsHandle array objects from AJAX
Good afternoon guys, I read the whole forum and tried several things, but I can’t extract the data from the array to manipulate. Well, I’m putting together a system where, after making a sale, it…
-
0
votes1
answer28
viewsRun product message not found
<? public function busca() { $busca = '%' . sanitize_text_field($_POST['busca']) . '%'; $nome_categoria = ''; $produto_categoria = array(); $link_categoria = ''; $categorias =…
-
0
votes0
answers21
viewsjQuery autocomplete with local API
I created an input text and through jQuery I am making an autocomplete, I was able to make it work by putting local data, as I do to show the data of an API generated as localhost. I don’t know how…
-
-1
votes1
answer201
viewsHow to create a button with the Custom Scrollbar plugin?
Custom Scrollbar My idea is to create only one button. When you click it it is activated and with the automatic scroll working, when you click again it is disabled and disables the automatic scroll.…
-
-1
votes3
answers204
viewsPlugins or tools to create blog posts?
Guys I have a personal blog and I will create the session where I create the posts, I wonder if you have any plugin or tool that does not depend on any server side language where I create the post,…
-
-1
votes2
answers93
viewsRefresh a window when I close another
I have a page with a list of photos. When the user clicks on "add photos", another tab opens in which the user can add photos. But at the end of inserting them, this tab is closed. What I wanted,…
-
-1
votes3
answers1142
viewsParallax Animation and Fade for Web
I’ve made all the moves of this URL in Adobe’s Muse and Edge Animate, but I want to do it in my fingernail by coding. Some hint of Parallax or similar animations in Codepen or Github? I want to…
-
-1
votes1
answer27
viewsModify website from 1290px to 960px
I finished the front end of a site, where the maximum margins of the elements go up to 1290px. Now, I have the layout to do it in 960px. Obviously I will reuse classes. I could use the @media, but…
-
-1
votes1
answer168
viewsCharacters from the English language in Jquery
I know little about Html, Avascript, etc., I needed a window similar to Javascript but with different font size, I searched and discovered the custom Jquery windows, I downloaded a window called…
-
-1
votes3
answers3057
viewsSmooth Transition in Image Slider
I have a div that displays a series of images in its background: <div id="header-slider"> ... </div> For the images to loop I did the following code in Jquery: var imagens = […
-
-1
votes1
answer597
viewsHow do Preload large images?
I have a background of 2mb to do Preload and do not know how to do... I have tried the basics, for example: $ ("#image"). load (function () { }
-
-1
votes2
answers402
viewsAlternative keyboard in input text
How to make a key work only in text type fields when pressed ? Example: $(":text").keydown(function(e) { e.stopPropagation(); }); here missing the textarea: if (e.keyCode == 70 &&…
-
-1
votes2
answers351
viewsJquery . click or Function
As I get used to it more and more <input type=button onclick="TESTE()"> <script> function TESTE(){ ... } To use the jquery method <input type=button id="teste"> <script>…
-
-1
votes1
answer328
viewsunrecognized Expression: a[href=#! ]
In the URL, if I leave only dominio.com.br the site works normally if I put dominio.com.br/# still working too, but when putting dominio.com.br/#! the site returns me this error Uncaught Error:…
-
-1
votes1
answer320
viewsHow to load or download points on Google Maps when clicking a div?
I have a page that shows the paths a vehicle has traveled. Routes will be shown in an ordered list arranged horizontally in the style of the Timestack Timeline (http://isaaccambron.com/timestack/),…
-
-1
votes1
answer218
viewsjQuery - how to measure the load time of an image in the background
How to run code when an image used as background is loaded? I tried to : $ ('#IDdaImagem').on('load', function () { / / 'Código parágrafo CARREGAR uma page / Conteúdo' }) and does not work the image…
-
-1
votes1
answer252
viewsHeader PDF by Javascript/jQuery
How to pass the PDF header through Javascript/jQuery? I need to print a page, IE, when the user accesses it, it already sends the PDF header and sends it to download. How to do this by JS?…
-
-1
votes4
answers1496
viewsjquery datepicker error does not work
I have the script defined as follows: <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/base/jquery-ui.css"/ > <script…
-
-1
votes1
answer846
views"Invalid App Id" error on "Like" Facebook button
I’m doing a blog and I’m putting the button like. The code I’m using is: This is at the top of the page: <script> (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if…
-
-1
votes0
answers70
viewsOn-screen message with ajax and jquery
I have an approval system and need to display a message to the user every time they click the Approve button. How can I do it ? My code is that way: Controller: [HttpPost] public PartialViewResult…
-
-1
votes1
answer863
viewsSetting up an image slider
I studied some HTML and CSS, watching some classes on Youtube and doing the lessons of Code Academy and now I’m creating my first website. I want to add a slider of images, by what I researched, the…
-
-1
votes2
answers171
viewsCalculation of days of one month
I’m setting up a schedule and I’m going to do a calendar. I need to know how many days are there in the month and also what day of the week is the first of each month. How to do this with PHP?…
-
-1
votes1
answer860
viewsInsert more values into a variable
var $e = $(e.currentTarget); var eData = $e.data(); var personagem = this.model.get('personagens').get({'id': eData.personagemId}); var candidatos = personagem.get('candidatos'); I need to put one…
-
-1
votes4
answers175
viewsProblem assigning HTML with . text() and . html()
I need to insert the HTML that refers to an image with hyperlink received through an ajax function on the page, but for security reasons I can’t just insert directly, so I’m passing this HTML code…
-
-1
votes2
answers809
viewsPass parameters via jquery to my model
I’ve always passed paramatros to my controller like this: url: '/Minha_Controller/Minha_Função', .... Now I need to pass parameters directly to My Model and I don’t know how to do it. I have this…
-
-1
votes1
answer76
viewsJquery tabs last stopped working
<div id="tabs"> <ul> <li><a href="#tabs-1">Informação</a></li> <li><a href="#tabs-2">Trabalhadores</a></li> <li><a…
-
-1
votes1
answer950
viewsHow to prevent page loading
There is an ERP system in the company where I maintain, and constantly end up supporting user errors. It turns out that my biggest problem I have, is when the user does not complete the entire…
-
-1
votes1
answer150
viewsModal with Iframe
I have a login screen, after logging in, the content I have opens in modals, and when clicking on them (open by iframe), you lose the login session... How to solve this problem?…
-
-1
votes2
answers923
viewsjQuery scroll does not work on Chrome in the rewind to previous page
I have this code that works well (just scroll down) in firefox and Chrome , but if you then click the 'backward' browser (Chrome) it does Trigger just in the load page without me do scroll. In HTML…
-
-1
votes1
answer149
viewsshowimagepreview does not work on safari
I have this script to give an image preview before the upload works perfectly in ie Chrome and firefox less in safari... anyone ever had problems with safari?? if anyone can give a hint...…
-
-1
votes1
answer1144
viewsjQuery File Upload error parseMetaData
This morning the jquery File Upload stopped working in all the places I use, I have a local base and another online, but both have the same error: Uncaught Typeerror: Cannot read Property…
javascript jquery file-upload multiple-file-uploadasked 10 years, 7 months ago Renan Rafael Bertoldo 993 -
-1
votes1
answer262
viewsHow to use Magicline in Single Page navigation?
Magic Line is a jQuery plugin which has the function of adding a line below the li from the navigation menu to represent which page the user is in. If the URL matches a menu item, a class .active…
jqueryasked 10 years, 7 months ago Mauro Alves 546 -
-1
votes1
answer73
viewsDifficulty in filtering information
I know my problem is logical and it must come from me, I know, but sometimes a light, not a code ready, but the pointing of a path helps us a lot. 1) I have 6 Combobox in my View that make the…