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
votes1
answer78
viewsThe . click() could not serve as a function handler since it only works with Function() to be executed?
I’ve been reading the documentation of jQuery because a question arose about the use of .click() and found nothing but the use of .click() with Handler Function() if in the documentation has nothing…
jqueryasked 5 years, 8 months ago Eliseu B. -
1
votes0
answers36
viewsI want to do a kind of horizontal Parallax
I want to make sure that by clicking the "see more" button the "slide" page to the left and another one comes from the right. I took some examples and was trying to build on my own but did not…
-
1
votes1
answer39
viewsReload video element with external link
Follow code jQuery: var el = $('#embed_video video').get(0); var urlVideo = 'https://res.cloudinary.com/matheus/video/upload/ferrari.mp4'; urlVideo = urlVideo + '?t=' + new Date().getTime();…
-
1
votes1
answer99
viewsDynamic input returns Undefined
I’m trying to create a dynamic search field. The problem is that when I type something, I can’t get the value of the Javascript field. It only returns me undefined. My code: $('.search').focus(…
-
1
votes1
answer35
viewsHow to include buttons from another button in Jquery
I have a table whose contents come from a json that consists of a column with a number, one with a name and one with two buttons, changing and deleting the row. When I click the button to create a…
-
1
votes1
answer830
viewsHow to Break Automatic Line in a Textarea with Javascript or jQuery
I’m sending a message and I want to put the button as if it were inside the textarea, but the problem is that writing goes under the button, there is some way with CSS, javascript or jQuery to avoid…
-
1
votes1
answer50
viewsmenu with Jquery tabs
I have the following menu it is vertical what I want to do and when I click on the link with the class j_open a ul with the class j_open_ul have a display block using the effect . toggle the problem…
-
1
votes1
answer1061
viewsChange <span> text with jQuery+variable
I’m trying to change the text displayed by a span within a modal: <div class="modal-body">Deseja realmente excluir?<span id="nomecliente"></span></div> I’m using onclick to…
-
1
votes2
answers688
viewsHow to load a Selectonemenu based on Select Previous using JSF?
I am trying to register a Neighborhood based in the City and the selected state. The list of the city depends on the state selected. Follows my code: <div class="form-group">…
-
1
votes1
answer29
viewshelp with Focus effect
what I need to do is make it work when the user presses tab also, something else has how to use pure js within jquery? <form method="post" id="form_log" class="form" autocomplete="off">…
-
1
votes1
answer147
viewsPull content from within a table to text boxes within the modal
I have a table whose contents come from a server, in json. Each row of the table has a code number, a product name and an edit button, when clicking this edit button opens a modal where there are…
-
1
votes2
answers315
viewsdelete from a row of the selected table
I have the following div: <div id="div_conteudo" align="center"> <div id="header"> <input type="button" name="Delete" class="botao1" style="float: right; margin-right:-12%">…
-
1
votes1
answer25
viewsDivs open everything together, how to solve
Good morning, I have the following problem, I use list foreach to bring the results of the comic into a list, and I want when I click on a list item, a div hidden appears below the respective item…
-
1
votes1
answer68
viewsPOST sent by ajax is empty in php
Hello, I am making a login system with ajax, which is activated with a button, however I am having problems, because the data sent by ajax, which are the username and password, They do not exist or…
-
1
votes2
answers765
viewsDatatable Data Format Problem
Good morning I’m having trouble formatting values in Datatable: In the Limit, Open, Operated columns it returns values in the US pattern like: 38000.00 I want to leave in the Brazilian standard:…
-
1
votes3
answers1207
viewsPick selected radio button value and start IF, ELSE IF, ELSE
When loading the page, I need to check which radio button is selected. Then start the IF, ELSE IF, ELSE. html <input type="radio" name="situacao" id="situacao_reserva" value="R" /> Reserva…
-
1
votes2
answers93
viewsAdd students' grades in Jquery or Javascript
I need to make sure that when the administrator registers the user notes typed in the fields Nota1, Nota2, Nota3, Nota4 and Nota5, the values are counted individually, and if one of them exceeds 200…
-
1
votes2
answers343
viewsSelect any div from a foreach
Can someone help me? I have this problem when selecting the text inside the div, just select the first foreach text, wanted to select what I click and not only the first <?php foreach($dado as…
-
1
votes1
answer137
viewsJquery validation using array in the Names input?
I am making the following form for the registration of data in the database, to enter in the database I am using array us input names form. <form method="post" id="validar"…
-
1
votes1
answer492
viewsProblem in Reload Table Using AJAX
Good morning, I am using Datatable and loading my data via Ajax from Datatable itself but I would like to give Reload updating the table with the new data from the database However, the table is…
-
1
votes1
answer78
viewsJavascript Setinterval Does Not Work
I have the following code, where the links are hidden with opacity: 0 and with Hover he will have opacity: 1; But I need the SetInterval, show them randomly. Up why mobile does not work the hover. I…
-
1
votes1
answer63
viewsProblems with displaying values in Javascript
Speak people, blz? So, I have a problem here when it comes to displaying a value with Javascript. I can do the bill and calculate everything smoothly, the problem is that when I put a value from…
-
1
votes1
answer32
viewsPass controller(action) information to a jquery function and vice versa
A jquery function will call a modal screen when changing a Dropdownlist. When I make the change, the value of id should be sent to Action there is then made a calculation and the result is sent to…
-
1
votes2
answers33
viewsUrl in jquery is being mounted wrong
I have a View called Invoice, inside a controller named Order. If I take my jquery and leave url: '', it already mounts in the browser that: locahost:porta/dominio/order/FaturarPara I’ll go to…
-
1
votes1
answer265
views -
1
votes2
answers458
viewsJquery-Mask plugin does not work
I’m having trouble inserting a mask into an input, follow my codes: My login screen I want to insert the mask: <?php /* * Create by Andre Tohouca Lacomski on 28/03/2019 */ defined('BASEPATH') OR…
-
1
votes1
answer35
viewsJquery Mobile - scrolled button
I’m playing in fds and learning a little Jquery Mobile, and I went to insert some buttons in the header, but the last button always stays out of the "scrolled down" position. how to solve this?…
-
1
votes1
answer82
viewsSend mailing list with jQuery
$('#j_envia-lista').click(function(){ var dados = $('#j_exibe-envio'); $.ajax({ type: "GET", url: "usuario/enviar-newsletter.asp", success: function(resposta) { dados.html(resposta); }, beforeSend:…
-
1
votes1
answer78
viewsInsert new fields dynamically, one next to the other
Hello, I need to clear up the following question. I have a web application, made in Asp.Net, in a new functionality I have 6 fixed fields containing a combo, a space for viewing the photo and an…
-
1
votes1
answer257
viewsEvent keypress and filter data after inserting value into any form input
Hello, I’m trying to filter my SPA with a data entry form. I have a form with 3 inputs text, and my intention is in the seller field,type the name of the seller (I have an autocomplete in this…
-
1
votes1
answer51
viewsI cannot delete the correct image by passing id through jQuery via Modal
I have a system that you click on the image and it opens it larger via modal, below has a Delete button, if you click Delete, opens another modal asking if you are sure you want to delete this…
-
1
votes2
answers56
viewsShow div containing search content
I created a search button and some search options within the Divs .opcao. How do I make it so that only the divs where the contents of the button contain the words typed in the search field? For…
-
1
votes1
answer178
viewsRepeat rows from a table using Javascript
My question is the following: I have this code where it feeds a table with 3 fields (portion value, start date, end date). From my numerous attempts I have not had success I am trying by a while to…
-
1
votes3
answers222
viewsShow div after a certain amount of input digits
$(document).ready(function () { $('#textFind').click(function () { $('.pesquisas').toggle(200); }); }); $(function () { $.expr[":"].contains = $.expr.createPseudo(function (a) { return function (e)…
-
1
votes1
answer42
viewsChild element count returns 'Undefined' in jQuery
I am trying to count child elements of a parent element with jQuery in the HTML I created, but it is returning the value 'Undefined'. <div class='dataGrid'> <div…
-
1
votes2
answers1137
viewsStore JWT token and redirect
I created a login screen and when I click login I get back a JWT token and its expiration. What I want to do is store this token and redirect it to another page. I know I have to do the…
-
1
votes1
answer599
viewsAs popular several select
I managed to make the second select (player) automatically load according to the first selected (tournament). I need to make the third (game) load according to the second. In my case, I have a team,…
-
1
votes1
answer111
viewsReturn value with PHP and AJAX
I’m trying to do a POST and it’s right in parts, only when I try to send the value of FORM to the destination of the post it gets the blank value. See my code: This is the form that sends the POST…
-
1
votes1
answer714
viewsFormat decimal numbers in Google Chart
I am using Google Chart to bring decimal values from PHP. The structure is as follows: PHP <?php $visualizarChartPagos = $metodos->visualizarPagosChart(date("Y")); $valor =…
-
1
votes1
answer157
viewsFill the src attribute of an iframe and make it visible via jQuery when user click item
I have a web page with a navbar at the top and an iframe that loads another page below. The idea is that when the user clicks on the menu item via jQuery I fill the src attribute of iframe with the…
-
1
votes2
answers818
viewsCalculate interest or discounts + the amount of installments with Jquery or Javascript
I have the following form: My goal is to take the value Total and when selecting the field of interest or discount, calculate with this value with the value Total (if there is interest or discount)…
-
1
votes0
answers1053
viewsPagination with sequelize + Node.js
Hello, I am developing an application Node.js where I have to list a register of classes. But as the number of records are many need to make a pagination, I achieved this by making a function with…
-
1
votes3
answers214
viewsChange style of the last two characters of the string
Considering: strong {font-size: 36px} <div id="conteiner"> <div class="meu-valor"> <strong>125,74</strong> </div> <div class="meu-valor">…
-
1
votes3
answers55
viewsJquery.text does not work
They are not empty, but I cannot place the text inside the Ivs HTML <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport"…
-
1
votes0
answers53
viewsPrevent redirecting to another page
Good Afternoon. The goal is that when the user clicks on a menu item, he loads the file containing a form into the "Other page". By the time this happens, the problem comes later. When I click on…
-
1
votes1
answer32
viewshref only works last box
I’m trying to make a simple accordion, each one will hold some x of links coming from the bank, but when I put the mouse on top of the links of the accordion simply has no action (the pointer nor…
-
1
votes0
answers38
viewsLimitation of 6 Requests followed in ajax
Hello, I’m making an application where I make an ajax request to register in the bank, the request is working smoothly. However I noticed that only accepts up to 6 requests in a row without updating…
-
1
votes3
answers454
viewsSelect button with jQuery and enable input from a form
Good afternoon, everyone, I am trying to implement the following solution: By clicking the button element I want the input field to be enabled. But by clicking the button nothing happens. Could…
-
1
votes1
answer228
viewsError: Syntax error, unrecognized Expression with "string"
I’m trying to use this script... but when I add the console returns me this error: Error: Syntax error, unrecognized Expression: "#listProducts . showcase-0 > ul li.line listing > .…
-
1
votes0
answers58
viewsAdd values with jquery
I have an input of type number that is a select with two different options and values, I have to add the value of my input with the value of my select but whenever I try, it reports me this error…