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
-
-1
votes2
answers82
viewsClick on image does not work with box-Sizing
Hi, I have a problem.. In an image of my site, which has ID #image, when clicked it executes a code in jquery, as the below: <script> $(document).ready(function() {…
-
-1
votes2
answers911
viewsRefresh-free browsing
the problem and when editing "in the browser url bar" I have to press 2x enter to load the desired page... and it should only be with 1x enter the other problem is that it has since error:0 when…
-
-1
votes4
answers10222
viewsRegressive Count Script
I wonder how I can make the script below work as follows in case it and a countdown comes the put it in case it makes a count taking a date posted on it and comparing with the current date doing the…
-
-1
votes1
answer335
viewsCompare values between tags and filter them by value range in check box?
How to make an Input when Checked filter values between tags ? IN JQUERY <div class="Container"> <div class="Thumb-Produto" > <img…
-
-1
votes1
answer1126
viewsSlide effect of Carousel bootstrap does not work on iphone
I am building a responsive web page with the bootstrap plugin. Everything works fine in desktop browsers, even in low resolution. But when I open the page in Chrome or Safari, on my iphone, the…
-
-1
votes1
answer125
viewsHTML Jquery Slideshow
Good morning friends, well the problem is the following, I downloaded a package for slideshow which I include in my site however it is all disfigured, does not appear border and does not appear the…
-
-1
votes1
answer58
viewsDynamically consult data
I have a question: I have a query in the database made in PHP that returns numbers that are updated to each request I make when accessing the browser. When I give F5, the data is updated and see…
-
-1
votes1
answer191
viewsOpen Modal in Tab Closure
Hello, I would like to open a modal window the moment the user tries to close the browser and ask if they really want to quit. I know I could do this with beforeunload, but I wanted to control in…
-
-1
votes1
answer974
viewsHow to encrypt a POST via Ajax
How do I encrypt the posts I send via Ajax? For example in Telegram Web they do this, you can see by XHR with the requests sent and received. Example of how it is in Telegram Web (I wish my…
-
-1
votes2
answers502
viewsmake invisible the <li> when inside has no <ul>
I have an HTML that mounts DROPDOWN menu. With JQUERY, I’m trying to make invisible items that don’t have sublists inside. I tried using the following command, but it didn’t work $('ul li…
-
-1
votes1
answer144
viewsIs there a way to create a jquery slide that takes up 100% of the screen?
How to create a slide with Jquery that takes up 100% of the screen? It is to make an animated footer with thumbnail images.
-
-1
votes1
answer1728
viewsRemove div "Father"
I have my following code: <div class="row"> <div class="col-md-10"> CONTEUDO 1 </div> <div class="col-md-2"> <a href="#" class="btn btn-primary">Delete</a>…
-
-1
votes1
answer71
viewsIs there a Debugger showing why my code does not run in a particular browser?
I used a lot of javascript/jquery to build a project, but I ended up testing only on Chrome (it’s running perfect), so I decided to test it in firefox and realized that several features are…
-
-1
votes2
answers476
viewsCreate "Slide" from image
I googled plugins/ libraries to do this function but could not find anything. I need to create a "slide" of products like a virtual store, like in this example (but without the zoom). I’m requesting…
-
-1
votes2
answers5553
viewsClear inputs inside form after sending the message
I have a form with some input, and I want that after the customer sends the form, it clears the fields. My HTML: function contatoForm() { if ($.trim($('#contatoNome').val()) == '' ||…
jqueryasked 10 years, 2 months ago Felipe Viero Goulart 3,693 -
-1
votes1
answer3353
viewsOpening new page and then running header
I currently have a button (print) that performs a Submit in the form (since I need some fields that are in this form). This in turn executes the code that is in the action, where I have the…
-
-1
votes1
answer1517
viewshow to implement jquery in php?
good afternoon my doubt and the following I want to put a custom jquery confirm Alert in php code but it does not run already tried everything already called the files and nothing if anyone can help…
-
-1
votes1
answer330
viewsJS function does not execute - $ is not defined
Good morning to all , I started studying javascript recently and I have a problem that I could not solve. Goes down: I have a page that I’m doing like a quiz. Follow the full page code:…
-
-1
votes1
answer100
viewsjquery . Animate() does not animate my div
Well, I’m trying to do something supposedly basic using the . Jquery’s Animate() but I can’t get it to anime div, even if I correctly select the html element with "$()". Here is the JSFIDDLE:…
-
-1
votes1
answer212
viewsPDF Preview with jQuery
I need to display a PDF as if it were a magazine inside an HTML page. The idea is to optimize the visualization of a document that is very heavy (+100 pages). Currently I only have a link that opens…
-
-1
votes4
answers1407
viewsHow to make elements appear and disappear with Js
I have, like, three titles. I want when the site loads, one appears, then it disappears and the other appears, then the second disappears and the third appears. You can use as code the following:…
-
-1
votes1
answer33
views -
-1
votes1
answer47
viewsAnimation move from right to left direction
I have this little animation in javascript, which makes my background move however, this sometimes moves from right to left and has other times that moves from left to right. How would you ever move…
-
-1
votes3
answers1182
viewsHow do you hide a div when it’s empty?
I have a div to show alerts to the user when a new user is successfully registered, but I only intend to show this message in the div, IE, the div when it is not empty. How do I do? Note: I saw an…
-
-1
votes1
answer469
viewsHow to change the background color of an image?
I need to change the white background color of images using programming. Does anyone know how to proceed?
-
-1
votes1
answer575
viewsCalculate percentage in dynamic field
I have inputs like text where a javascript function takes these input values and makes a percentage account, works correctly, the problem is that depending on the input data these fields become…
-
-1
votes1
answer30
viewsRun file instead of redirect
I have the following javascript: $(".enviar_email").click(function(){ $('#myModal').modal('hide'); window.location.href = "<? echo base_url('boleto/email/'); ?>/" + cliente + "/" + datainicial…
-
-1
votes1
answer1544
viewsSubmenu Bootstrap open left
needed my menu on the site below, open in left, so there is no layout break. http://alertweb.com.br/desenvolvimento/novamodallayout/site/ You could help me? <nav class="navbar navbar-inverse…
-
-1
votes2
answers591
viewsChange background to an element via jquery
I would like to do something like this represented in the image below or wanted to change the background of the <a href> when it is clicked on another <a href> below. This doesn’t happen…
-
-1
votes2
answers1243
viewsPop up with jquery before closing the browser
People would like to do a pop up that appears before the person closes the browser tab equal to Shoptime: http://www.shoptime.com.br/ I don’t have much Javascript knowledge, much less jquery. Can…
-
-1
votes1
answer90
viewsJquery Library Function . load is not working!
<script> $(".coment").load("coments.php #coments"); </script> This function causes it to load the comments after sending it! This makes the comment be sent at the same time and…
-
-1
votes1
answer39
viewsTransition at the Hover
Hi, I was wondering how to use the property transition to achieve the result you have in the Nav-bar read of the site http://tableless.com.br/.…
-
-1
votes1
answer114
viewsPreserve the value of a regressive contactor with Javascript?
I have a problem with a countdown. The counter works with the time I put in it, but when the customer updates the page, the counter goes back to the initial time. Is there any possibility of…
-
-1
votes1
answer52
viewsWhat is the best way (including frameworks) to work with JSON files? Using Javascript
Guys, I have to list some data based on a json and also use some control structures with properties from that file, so what’s the best way to work with them? if possible explain how to move from a .…
-
-1
votes1
answer470
viewsRedirect page through the link typed in the url
I need a page that when I load it check the link typed for example : www.test.com/myphp.php=10 if it finds a certain number it redirects to another page , for example : found…
-
-1
votes2
answers223
viewsInsert value in the nearest text input
good afternoon guys, I’m having a problem in my jquery Here’s the thing, I’ll have a lot of Formulars on one page... Where when typing in each "board" field my jquery inserts a value in the next…
-
-1
votes1
answer393
viewsRemove ELEMENT behind Iframe
I use a microsoft BI tool and this tool creates dynamic graphics. One of the ways to share these graphics is through the use of a Iframe through a portal. When I receive the frame with data from the…
-
-1
votes1
answer288
viewsUsing Ajax in the navigation of the entire site has a problem?
It’s because the site would have a Web Radio, and I don’t want you to update every page exchange, because that’s for playback. I wonder if it is a problem to make the pagination in Ajax? And…
-
-1
votes1
answer126
viewsHow to delete elements from a jQuery collection?
For example: I want to give one .fadeOut() throughout body, but with the exception of some element, such as a div. Can this be done? How?
-
-1
votes2
answers744
viewsHow to make a menu that when clicking opens another div?
EXAMPLE: I want to create a menu that will have four links, and each link opens a certain div with different contents in each div. type the of this site here http://www.footebol.com/ the part that…
-
-1
votes2
answers1501
viewsHow to get JSON from an external url
I’m trying to catch a JSON from an external page, I’m using the dataType=jsonp, but only that the url, returns me a JSON and the following error: Uncaught Syntaxerror: Unexpected token : The JSON…
-
-1
votes1
answer73
viewsMy site is giving error in Jquery and do not know what to do
I am new to programming and am developing using jquery and boostrap in wordpress. But when uploading the theme to the server appears this error. Thank you for your attention.…
-
-1
votes1
answer111
viewsWhat could stop a FOR? (javascript)
I am having a problem in a script, the same stops in a FOR and does not execute the rest of i. In the case it is on that line: for (i = 1; i < ultimoId;i++) { line 43 if you are looking at any…
-
-1
votes1
answer217
viewsHow to directly type the decimals after the user type comma with Javascript?
I am developing a web site using javascript/jquery and in some fields the user type numeric values. Some of these fields, by business needs, have 9 decimal places: 0,00000000 My problem is that in a…
-
-1
votes2
answers1040
viewsHow to disable responsive from a css site
Hello, I wonder if it is possible to disable the responsive of a site in jquery without changing the codes for example force the desktop version on mobile devices! thank you in advance!…
-
-1
votes1
answer247
viewsconvert javascript code to jquery
How would this code look in javascript: var ctx1 = document.getElementById("GraficoDonut1").getContext("2d"); new Chart(ctx1).Doughnut(data1, options); legend(document.getElementById("lineLegend1"),…
jqueryasked 8 years, 3 months ago Hugo Borges 5,294 -
-1
votes1
answer30
viewsFunction to send data to the database after a while
I am in need of a function that after 1 minute and 30 seconds is sent the data to the database. After a lot of research I couldn’t do it dynamically I can do it with a div appearing after this time,…
-
-1
votes1
answer99
viewsSkip input field after click(Function() {
Someone knows how to jump to the next field (input) using the function within the event: click(function() { It cannot be by ID because I am using inside a div that uses jquery’s CLONE function.…
-
-1
votes1
answer28
viewsAdd element content that contains the data-layer "element" in the tag
I have the following code: <ul class="dropdown-list-autocomplete" id="Layer_1abc" data-layer="Layer_1"></ul> And this JS: function AtivaAutoComplete(id_mapa, regiao, path_map){…
-
-1
votes2
answers433
viewsLarge data volume datatables
I am researching solutions to load a large volume of data on a page with Datatables and I would like to know if Datatables already have a function in which it will be ordering portions of data along…