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
answer31
viewsGet html property value via jquery
How do I get property values data-pedido and data-id with jquery? <h5 class="titulo-resumo pedido" data-pedido="v583161rhp" data-id="01">Pedido</h5>…
-
0
votes0
answers67
viewsHow to resolve the Uncaught Syntaxerror: Unexpected token Ajax?
hello I have the following code: var player = videojs('MY_VIDEO_1'); player.on('ended', function() { $.ajax({ url: "", context: document.body, success: function (s, x) { $(this).html(s); }) }; and…
-
0
votes1
answer464
viewsHow to activate a navigation item dynamically
I’m tired of always changing the navbar of all my pages, and I decided to create a file for navbar and always give a include on the pages to make it easier to add/remove items! Only, my question is…
-
0
votes1
answer27
viewsHow to use Jquery to trigger a function when the page title is changed?
Hello, I am new on this platform, I do not know if my question will meet the requirements, but I will try to be as specific as possible! I want to trigger an event using Jquery, so when changed, I…
-
0
votes1
answer49
viewsAnimation in Automatic Scroll by clicking on an Anchor
Hello folks I’m having a question with animation automatic scrolling with the redirect to the Anchor in the Html on the same page I tried several alternatives here the site did not work. Among them…
-
0
votes2
answers68
viewsHow to change the version of Jquery in wordpress?
I am maintaining a plugin that uses version 1.4.1 of Jquery and runs on version 5.2 of Wordpess jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1 And the latest…
-
0
votes1
answer48
viewsWordpress error in Jquery no admin-ajax.php [500]
I am developing a delivery in Wordpress the add items to the cart was working normal when was no localhost , after climbing the delivery to test it stopped working , I have the following error log…
-
0
votes2
answers42
viewsHow to obtain the value of the variable outside the function?
How to get the value of var DI out of office? I’m a rookie, and I curled up.. I need to include it in another function but I can’t get the value out of it :( $(document).ready(function () { $.ajax({…
-
0
votes0
answers43
viewsSimple Slider with jQuery
I developed a simple slider with jQuery, my difficulty is to create the function to navigate between the Bullets since I created the part to make the slider walk alone. index.html <!doctype…
-
0
votes0
answers41
viewsSend Post Ajax outside the same project
Explaining better, in Eclipse PHP I have Project 1 and Project 2, and I am emulating PHP in Xampp, I wanted to send a Post via Ajax from Project 1 to Project 2, but I’m not getting it. Error:…
-
0
votes1
answer93
viewsHow do menus or classes appear gradually?
I would like a help, it’s a project that would be a pizza site, where when the person entered the site did not appear all "menus" or "classes" at a time, when only the menu would appear, as soon as…
-
0
votes1
answer433
viewsJQUERY functions with named callbacks
I would like to create a function with Jquery so that I can pass only the callback name and function specification, as well as the $.ajax function, which as an example, I do: $.ajax({ ... success:…
-
0
votes0
answers179
viewsAssigning values by jQuery is not working
I have a javascript code that fills fields in the form with "outsourced" data, most of the assignments are ok, the problem is in fields that we consider "Masked" and receive only numbers. The code…
-
0
votes0
answers30
viewsHow to get the Lucidscroll plug up and running in a single div
I’m using a pluggin called Lucidscroll that makes the page scroll have a softer animation during the scroll, but I just wanted it to work up in just one div. The plug page is this:…
-
0
votes1
answer84
viewsChosen.jquery.js incompatible jquery-1.9.1
I am using Jquery-. 1.9.1 in my application and would like to use the Chosen.jquery.js component however this component uses 1.6.4. I want to use this component within the dialog that is opened by…
-
0
votes2
answers505
viewsError trying to move file to a folder with PHP and Javascript
I’m trying to move files from a folder. These files are listed, from the moment they are created, I want to move them at the end of the day to a certain back-up folder. However, when calling…
-
0
votes0
answers31
viewsHow to show result of a modal search
I’m new to Frontend, I’d like to click on a button, show the user’s feedback in a modal. I already have the page showing the results, this working ok I would like to show now in a modal window to…
-
0
votes1
answer488
viewsFormat date with jQuery
I am currently formatting a date field with the following mask: $("input[type='date']").mask('dD/mM/yYYY', { translation: { d: {pattern: /[0-3]/}, D: {pattern: /[0-9]/}, m: {pattern: /[0-1]/}, M:…
jqueryasked 7 years, 11 months ago Fábio Jânio 3,407 -
0
votes0
answers11
viewsremoveClass where the internal link is a space
I have the following HTML: <div class="segura-li"> <li class="classe-li"> <a href="link1">texto</a> </li> <li class="classe-li"> <a…
jqueryasked 3 years, 1 month ago caiocafardo 1,897 -
0
votes0
answers46
viewsHow to automatically click with javascript
I would like you to help me in creating a javascript function so that, when loading a page, a button is automatically clicked every X seconds. I tried to do this function but did not succeed and…
-
0
votes0
answers6
viewsSlider/Carrosel with JS
I’m trying to make a data carousel that are coming from a mysql database, I’m trying to put 4 Divs at the beginning to go through with the carousel, but it only shows one, follows the js code…
-
0
votes0
answers65
viewsOnline application communicate with a local computer?
How do I get an online web application to communicate with a local computer? The goal is to send data to a local computer, and in principle I thought to send using Jquery/Ajax. It would have to do?…
-
0
votes0
answers58
viewsPicture gets huge in Carroussel
That is the problem: http://hotplateprensas.com.br/novo/produto.php?p=1 I’m using a plugin JQuery for viewing images of the type carroussel. But when the image is too high it generates this problem.…
-
0
votes0
answers314
viewsHow to load saved form in localstorage in a table?
I need a form saved on localstorage be uploaded to another page, within a table, but I don’t know exactly how to do this, the most I can is to be uploaded to the same page of the form, but this way…
-
0
votes1
answer85
viewsSpace between jquery mask
I’m using a jquery mask: /// Mascara Telfone function mascara(o,f){ v_obj=o v_fun=f setTimeout("execmascara()",1) } function execmascara(){ v_obj.value=v_fun(v_obj.value) } function mtel(v){…
-
0
votes1
answer1087
viewsPass variable via GET URL jQuery
I got the following jQuery $(".quantidade_lotes").change(function() { var quantidade_linhas = $("#quantidade_linhas").val(); var quantidade_lotes = $(".quantidade_lotes").val(); var mensagem =…
-
0
votes1
answer213
viewsJavascript function does not work completely with jQuery
Good evening. I’m having some problems making another function work together with jQuery. The jQuery function is working as I’d like, however, the one I created is not. In fact it is almost working…
-
0
votes0
answers28
viewsAdd a Dropdownlistfor with the result of Jquery Asp.net mvc
I want to know how to do this in the friendliest way possible. I have an Actionresult public ActionResult IncluirProspecto() { //retorna o cadastro classificação do prospecto var…
-
0
votes2
answers300
viewsHow to reload grid without checking if it exists JS Jquery
The system was built with modals and it is possible that there is a modal there in the 2nd level that needs to update two grids below (one in the main screen and the other in the modal in the 1st…
-
0
votes1
answer210
viewsJquery and Metismenu and Modal conflict
I’m having conflict with Jquery and Metismenu and Modal(bootstrap): if I ref. so the modal works, but the dropdown menu does not work: <script…
-
0
votes2
answers770
viewsJquery function click on dynamic PHP links
I’m trying to create a script so when the person click Like she will like the post, and when you click Excuse, will forgive the post, obvious, I managed to do this successfully, but I had to do this…
-
0
votes0
answers372
viewsHow to bring a page with graph inside a div in another page using ajax?
I have a problem, I have a simple function in Ajax that brings a page within a div, made the test work, but when I do to bring a page that has graphic does not bring anything, Does anyone know if…
-
0
votes2
answers1086
viewsHow to maintain scroll position within a div after dynamically upgrading with AJAX?
I’m building a mini forum, and in it, users can do posts and answer them. For the page not to get too long, I put a div with a fixed height and width, and if the text passes that value, it will add…
-
0
votes0
answers267
viewsImage over another as a stamp using css
I have an image on the screen where I want to add a stamp, the problem is that as this image is inside a foreach, so if I get the image id, will this repeated. #carimbo-foto{ position:absolute;…
-
0
votes1
answer392
viewsHow to define the image format when saving the file using "html2canvas"?
I am using canvas2image.js to turn a div into an image, everything works, the problem, need to define a format for the image at the time of saving, without it it is without a valid format. Example:…
-
0
votes1
answer296
viewsHow to create a dynamic @Html.Actionlink with Jquery?
I’m trying to create a @Html.ActionLink dynamic with Jquery but I’m not getting, how to do it ? $('#tableView > tbody').empty(); if (data["CategoriaProduto"].length > 0) {…
-
0
votes1
answer1242
viewsHow to display XML data in an HTML table
I would like the XML data to be displayed in a common HTML table with TR and TD, because with the code I’m using the information gets confused. Follow the code I used: $(function(){ $.ajax({ url :…
-
0
votes1
answer636
viewsScroll Javascript in div and catch title
Let’s get down to the problem: I have the following code: <span id="título">teste1</span> <div id="div_scroll"> <div id="dv1">teste1</div> <div…
-
0
votes1
answer2185
viewsopen link in new tab with JS or Jquery
I set up a website using Mobirize and it has a Facebook icon that when clicked you share the site on your face as a post. I would like it to open a new tab instead with a specific Facebook page.In…
-
0
votes0
answers66
viewsHelp to mount select on the seat
Hello, I need to assemble a query in the database that returns a set of records but as I do not have as much experience in database I would like you to give me a help. I got the tables…
-
0
votes1
answer51
viewsPage does not catch JS files later
I’m having a problem, I looked on the Internet and did not find, I saw that there is a similar question here in Stack, but that did not solve my problem. The thing is, I have several JS files, like…
-
0
votes0
answers66
viewsRemove spaces from the image div using Canvas
I have a div, where I’m saving the content using canvas <div class="container-capa"> <img src=~/Content/imagemcartaovisita/@Session["NomeCapaCartao"] class="img-responsive" id="capa" alt=""…
-
0
votes2
answers1289
viewsView Div with specific content by clicking link
Good morning guys, I’m creating this topic because I performed a forum search and found this solution here. How to open a <div> by clicking on a <a link>? But I need a more specific…
-
0
votes2
answers134
viewsCount only from visible cells
I’m having a problem with my code. I have a dropdopwn menu that displays notifications. When the notification shows the same date as the current day it displays <div class="label…
-
0
votes2
answers305
views.load Jquery letting the form be submitted
I got the following js $("#contato").on("submit", function () { if($('#descricao').val() == "") { //verifica apena o texto alert("Descrição não está preenchida!");…
jqueryasked 7 years, 10 months ago Carlos Rocha 1 -
0
votes3
answers30
viewsShow different contents when selecting one of the buttons
How can I make div change when pressing a button? in case I have 3 buttons, the first one will cause the first one to be displayed div, the second with which the second div appears and the third…
-
0
votes0
answers100
viewsError 0 while sending message by Ajax
I have a system of posts in PHP and Jquery, where users post things. It hasn’t been released to anyone yet, for I want to get everything ready, but I came across an error that is happening in the…
-
0
votes2
answers3718
viewsHow to create a Pop UP that has the close button
Hi, everyone at Stackoverflow, first I’d like to apologize if you’re asking me wrong, this is the first time I’ve ever used the O.R. And also apologize for my ignorance in HTML and JS. In fact, I…
-
0
votes0
answers41
viewsCSS problems
I have the following function Jquery to change the font size during Screen Resizing. const textPattern = 0.0085; function resizeFont(widthWindow){ var calc_text = widthWindow * textPattern;…
-
0
votes2
answers60
views