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
votes2
answers1063
viewsHow to load a JS image
Inside my 'data' div I load the JS information by id inside the spans, I am not able to load the image inside the span id='imgspan' <div class="dados"> <label><span…
-
0
votes1
answer97
viewsHow to fix a menu with jQuery?
I am beginner and I would like to know what the error of this code: var nav = $('.topo'); $(window).scroll(function () { if ($(this).scrollTop() > 136) { nav.addClass("fixar"); } else {…
-
0
votes1
answer28
viewsPosition Fixed - return to where you were with the mouse scroll
I have this script in Jquery that when the mouse scroll goes through it determined div, leaves fixed a div with position:Fixed. Ali emabaixo has STOP HERE, that’s where I want you to go back to the…
jqueryasked 6 years, 9 months ago Wagner Martins Bodyboard 698 -
0
votes0
answers151
viewsMultiple requests with ajax - Jquery
I have a page containing 1 (one) to 50 requests. So I use a loop that makes the call. By the speed of my internet, in a matter of 3 seconds I should upload all the requests. But it’s done one by…
-
0
votes1
answer275
viewsPRESTASHOP - How to make attributes and features appear in the Front-End?
I registered some categories, I put them in the menu, then I registered the attributes and characteristics, I registered some products and made the associations but the attributes do not appear when…
php javascript jquery e-commerce prestashopasked 6 years, 9 months ago Anderson Brunel Modolon 1,111 -
0
votes1
answer70
viewsChange the color of a button and keep it changed after the user leaves and returns
Is there any way to get a page to keep the color change of a button (or link) with a function like the CSS "a:visited", but this change should remain even after the user leaves the site and returns…
-
0
votes0
answers464
viewsHow to load Partialview via Javascript
I have an Asp.Net MVC project where there is a method that returns a PartialView: [HttpPost] public ActionResult MinhaAction(int param1, int param2) { // ... // Código // ...…
-
0
votes2
answers5075
viewsGet radio button value via jQuery and set in an input text
Good evening, I am with a Radiogroup that return me three values: PM - Lower Weight (The lowest weight between Outgoing Weight and Finish Weight); PS - Output Weight; PC - Arrival Weight; The system…
-
0
votes1
answer858
viewsHow to remove numbers from a string?
Hello, it should be something easy, but I’m cracking my head to solve. I have a string, String(ValorTotal).replace("." , ""); //tira ponto This string returns me the following value:…
-
0
votes2
answers34
viewsDoubt TD Jquery
I’d like to reclaim the name of a class of a TD, follows my code. var dateSelectClick = $(target.element.text); console.log(dateSelectClick); return of this is n.fn.init {} because I would like you…
jqueryasked 8 years, 6 months ago Bruno Bafilli 327 -
0
votes1
answer64
viewsReload multiple images using Jquery ? How to optimize?
I have a multi-image update using Jquery: window.onload = function() { setInterval(function(){ $( ".image" ).each(function( index ) { base_url = $(this).attr('src').split('?rand=')[0]; address =…
-
0
votes0
answers331
viewsRecover Data to Controller in Laravel
I am developing a web application with Laravel and on one of my screens I have a Customer and Contact relationship, where a client can have multiple contacts. So in my View I have a method to add my…
-
0
votes1
answer27
viewsMessage duplication in Chat at the time of the Webinar (client side)
Hello, I have a chat that at the time of the webinar to receive enough customers watching at the time of sending message, the same on the screen seems duplicated, but in the bank not saved…
-
0
votes1
answer64
viewsJQUERY, PHP, HTML 5
How is it possible to circumvent a CPF validation, being that in the company I work if the client has any pending in the CPF, the sales page does not allow to proceed. Already by other means, have…
-
0
votes1
answer68
viewsRemove a slide from a Swiper by class
I have the following Swiper: var swiperBanner = new Swiper('.swiper-container-banner', { slidesPerView: 1, speed: 1200, loop: true, grabCursor: true, freeMode: false, preventClicks: true, autoplay:…
-
0
votes2
answers88
viewsHow to make radio effect in div
I need to do an equal effect of input radio but in div, because when clicking on the first div add a class, if clicking on another div also add a class but have to remove from the div that received…
-
0
votes0
answers62
viewsHow do I use Html5 Multiple file input to make it select two different directory files
I am with a personal question, how do I use input file Multiple from Html5 make it select two files as follows: the user selects the first file after the dialog is closed when the file is selected…
-
0
votes1
answer48
viewsHow I take the value of a checkbox to go through parameter
I wonder how I get the status of a checkbox if it is enabled or not to pass by parameter to the controller…
-
0
votes0
answers153
viewsWhy does the Jquery UI import on the page not work?
I am therefore not having access to the Jquery IU theme on my HTML page. I assume that when creating a button and a menu, it already shows me in the layout of the theme, in which I downloaded the…
-
0
votes1
answer63
viewsHow to get link inside the textarea?
In my textarea there is this: <Sua IMAGEM ESTÁ AQUI NÃO APAGUE ESTE CODIGO><img src='exemplo/imagens/exemplo.png' width=200; height:200; /><Sua IMAGEM ESTÁ AQUI NÃO APAGUE ESTE CODIGO…
-
0
votes1
answer156
viewserror with input validation
the following code was implemented from a question I found here in the system $('form input[type="text"]').on('input', function() { var inputempty = false; $('form > input').each(function() {…
-
0
votes1
answer100
viewsChange border-color according to the value of a jquery variable
I have a form and want to change the color of the border-color to red if the user/email has already been registered in my database. I tried something like: <script> $(document).ready(…
-
0
votes0
answers155
viewsSlideshow lightbox show screenshots by category
Good evening, I have the following code that separates the images to be shown in the slideshow by category, until I was able to show the separate images when the user clicks in the category,…
-
0
votes1
answer137
viewsCreate a single change function for multiple CSS selectors in Jquery
I use the function below to add CSS classes (blue, red, pink...) in a DIV ". container" from a select "#selcolor". Is it possible for me to use this same function in other select tags with different…
-
0
votes3
answers2815
viewsHow to import an html page into another html?
I have a home page where there is a menu that opens dialogs. Today is all in one html only, but I would like to separate, ie decouple and leave this html of dialog separate from the home page.…
-
0
votes1
answer41
viewsHow to perform ajax but not update content from div so add?
I have a <div> where the function return ajax and returned, however it updates, I want to know if you have how to perform the function ajax and instead of updating it bring the result leaving…
-
0
votes1
answer30
viewsError . top in jQuery
$("#j_menu a").click(function(e) { var goto = $("#"+$(this).attr('href').replace('#','')+""); $('html, body').animate({ scrollTop: goto.offset().top }, 'slow'); }); He accuses a mistake saying he…
-
0
votes1
answer1006
viewsInsert data into db with codeIgniter and ajax
Hello I am trying to insert data in my database with ajax but I am not getting, always returns me the error message Controller: public function insert_user_data(){ $this->load->model('crud');…
-
0
votes1
answer628
viewsCapturing the input type date
have a <input type="date" class="form-control" name="data"> In Jquery I need to capture this date and then send it to BD var data = $("#data").val(); But the value only returns 'Undefined'.…
-
0
votes0
answers265
viewsLogin button with facebook does not appear
I’m trying to call the facebook button on a page index.php, but the same does not appear on the page below the code: <?php session_start(); ?> <!DOCTYPE html> <html> <head>…
-
0
votes1
answer225
viewsManipulating td’s of tables
I have a code that breaks down the information coming from the database into three tables. But when I filter these results by name and code (fields available in the DOM to filter the tables) the…
-
0
votes2
answers176
viewsRepeat selected data in a select in a text input
How to repeat the selected values in one select in a input[type="text"] bearing in mind my HTML below using Javascript? <select name="destino_in" class="form-control" required> <option…
-
0
votes1
answer348
viewsHow to change http header using (). get and (). post()?
Very briefly I need to send a jwt token in the http header of the requests, as I can change the headers of jQuery requests $.post() and $.get()? Example of how I do using Curl by prompt: curl -H…
-
0
votes1
answer962
viewsHow to send data from a dynamic HTML table via json
I need to do something similar to the code below: Here I create the htmla table dynamically: $('#btnIncluirContato').on('click', function () { $('#tblContato tbody').append('<tr id=' +…
-
0
votes1
answer216
viewsFilter elements from one list and show in another
I need to filter elements from a list and show in a result list. I did the following code: var ele = []; $('.search').keyup(function(event) { var val = $(this).val().toUpperCase();…
-
0
votes1
answer96
viewsJavascript does not load function
I have a javascript file 'zip code'. where there is a method called displays(); but when I run this method in my current file that is on the page next to HTML, it doesn’t work, why? cep.js $…
-
0
votes1
answer59
viewsJquery.Validate
Talk personal, all right!? I am breaking my head with the following, I am using the plugin jquery validate, working all right, but in my form I am using a button that I do not want to validate in…
-
0
votes2
answers851
viewsproblem with emphasis on jquery autocomplete
I have a UTF-8 problem in my code. I have a input text with autocomplete (jquery function) that works ok with results coming from Mysql, but when a word is accented the accented letter appears a…
-
0
votes0
answers48
viewsAs you fill in the fields, the data automatically appears in a div
It is as follows. I have a form which contains: Name, Age, Gender and City. I would like the user as he was filling out this form, the data would appear in another div automatically. The same that…
jqueryasked 6 years, 8 months ago user24136 -
0
votes4
answers1899
viewsInsert comma automatically while typing
When typing a value, there is some way to already make the correction by inserting commas and live points?? EX: I pressed 4 + 3 + 6 on the keyboard Input ja Mosta = 4,36 EX: I pressed 4 + 3 + 6 + 8…
-
0
votes0
answers60
viewsFlickity slide show list
I’m developing a page that contains 2 slides. 1 main and other related to it; but I need to create a pro slide navigation menu apart. I built it as follows, generating 3 slides and using 1 of them…
-
0
votes1
answer379
viewsSelect pressed with Jquery change?
I’m studying Json and the Jquery change event. What I need is this When the user opens the page already has results. (in select come marked all) html comes empty and only works when I change select…
-
0
votes0
answers615
viewsNeighborhood boundary using Google Maps API
Hello! I am creating a map to visualize a municipality with all the neighborhoods. Using the kmz provided by IBGE I managed to circumvent the municipality I want, but I did not find any kmz for the…
-
0
votes0
answers383
viewsCompare variable values and choose larger ones to calculate
I am developing a retirement calculator. Available at link http://www.utilizaweb.com.br/aposentadoria (code also available below). The program works with the insertion of several companies. I need…
-
0
votes1
answer575
viewsHow does the React-Native cache system work?
The thing is, I’ve created a system that uses a few components Image and upload images from the internet. Only I want the images to appear even when the system is offline. I realized that there is a…
-
0
votes2
answers800
viewsHow do I put two Datatables on the same page?
The first table picks right but the second load is not the table without the Datatable attributes. How do I use both on the same page?
-
0
votes1
answer72
viewsRetrieve Bearer Token using a Clientid and Clientsecret
Good morning, I need to make a call on an API, I own Clientid and Clientsecret, but from what I understand, I can make the calls using "Authorization bearer". My question is how I can transform the…
-
0
votes1
answer97
viewsJquery does not display image prewier
good evening, I’m trying to make an image prewier in a file field with multiple uploads. html <!doctype html> <html> <head> <meta charset="utf-8"> <title>Upload…
-
0
votes2
answers410
viewsAjax request error to load in google map
I’m making a request ajax code: $.ajax({ type:"POST", url:"url.php", data:{ ida : href, }, beforeSend: function(){ }, success:function(data){ $("#mapa").html(data); } }); Request is being made…
-
0
votes1
answer648
viewsTake a URL parameter with Jquery
Good morning, everyone, I have a question. I have this URL: http://localhost/admin-active.com/public/event/edit4/id_menu/8/id_event/22054 how can I get the parameter 22054 that is in that URL and…
jqueryasked 6 years, 8 months ago Daywison Ferreira Leal 167