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
answers375
viewsShow content according to Select
How do I make that when the user selects the drive, show the div of the contents according to the selected drive? It would be with jQuery? <div class="form-group"> <label>Selecione a…
-
1
votes1
answer213
viewsjQuery function that closes the search field by clicking on Esc
On the site where I am developing, there is a field of research that only shows the input when you click on the button. Now I want to close the input when you click the key Esc (when the focus is in…
-
1
votes1
answer623
viewsFormat summation result with comma - Jquery
I am making a sum of all the values related to a column of a table. When returning even to html, it is being returned without the comma. How can I proceed so that the comma is presented in the…
-
1
votes1
answer292
viewsFullcalendar does not appear navigation bar
I am using the Fullcalendar plugin, it lists events correctly but only does not display the navigation bar. in the console no javascript errors appear. Looking at the Element I noticed that the…
-
1
votes2
answers74
viewsUpdate object values via GET without repetition
To working on a plane table, which has a script with multiple objects, thus: var plano_basicoUS = { 1: null, // mensal 2: null, // trimestral 3: null, // semestral 4: null, // anual }; var…
-
1
votes2
answers37
viewsEnabling and disabling input
I created a script to enable and disable fields on my page but they are not running. $(document).ready(function() { $("#EditarDados").click(function() { // habilita o campo…
-
1
votes1
answer244
viewsAjax POST does not execute the ASP.NET MVC action
Controller Action public class EstabelecimentoController : ControllerBase { [HttpPost] public ActionResult ImportarEstabelecimentos() { var file = Request.Files["inputFileImportarEstabelecimentos"];…
-
1
votes1
answer526
viewsCalculation using Angular JS
I managed with the help of Esmigol to solve one of the problems and I am insisting here because I did not find anything on the internet that can help me. There are few examples of what I need on the…
-
1
votes1
answer34
viewsHow to recover the amount of elements within a card-group
I have a card-group that I need to know the exact value of elements within it, because I want to create another card-group with 3 elements and so on... I made a card-group with 3 elements to test,…
-
1
votes2
answers131
viewsSelected combo component
I have a problem loading the screen with a selected combo item. I’ve tried with jQuery, angular and it didn’t work. I’ve researched other answers around here and it didn’t work any of the…
-
1
votes2
answers47
viewsFormatting/Punctuation of real values
I have a value comparison to check if a withdrawal is possible or not. I’m having trouble formatting the values and making this comparison. Behold: And on the console this bringing me formatted this…
jqueryasked 6 years, 5 months ago Igor Carreiro 1,917 -
1
votes1
answer59
viewsAutocomplete does not work on adding remove inputs
I am developing a quotation form and in it I add and remove lines to register products and in each line there are two autocomplete fields, where search the product by code or by name. The first line…
-
1
votes1
answer115
viewsCleaning div edge with jQuery
How do I clean the edge of a DIV in Loop with jQuery? For example, I’m with a modal, looping database data with Json, I have a button to select each item returned from that list-(loop), then I did…
-
1
votes1
answer45
viewsHow to trigger this progress bar?
I started studying Javascript and jQuery now, and looking for how to make a vertical progress bar found the function below: It worked perfectly as I wanted, but I would like to know how I can get…
-
1
votes1
answer110
viewsShow div after jquery validation
I have a function that validates the empty fields, when completing all fields and clicking on the button I need to show the hidden div, how can I implement this function to validate and show the div…
-
1
votes3
answers87
viewsHow to do it when checking a checkbox it changes the background color of a td of a table and when unknowing it returns to its normal color
Well, I have this code, and it works in parts, when I check the checkbox it changes the color of my td, but when I go down the color does not return to normal, could someone help me? Thanks in…
-
1
votes2
answers145
viewsProblem when calculating percentage using parseFloat and toFixed
I want to do something very simple, but as simple as it is, I’m not getting it. I have an input that receives the cost value, an input that calculates and shows the profit margin in % and an input…
-
1
votes1
answer140
viewshttppostedfilebase always empty when passing csv to controller
Boa Tarde Personal, I’m having trouble passing a csv that is being sent from ajax using jquery to the controller where null always arrives. Could you help me? View : @using…
-
1
votes3
answers46
viewsChanging position of multiple DIVS with same selector in Jquery
I have a page that contains several structures with the same selector, such as: <div class="preco"> R$ 69,90 </div> <div class="preco-a-vista"> R$ 50,00 </div> As I…
-
1
votes1
answer34
viewsEncapsulation of random amounts - is it possible?
I’m trying to get php to send a response to the Avascript file with information, in which Avascript makes a request for php in ajax, and php sends a random amount of information, php will pull all…
-
1
votes1
answer411
viewsShow/Hide jquery
I have a table that shows values coming from the database. Below the line I am trying to run a div to use the toggle() function of jquery. I don’t know what I’m doing wrong, because when I click it…
-
1
votes1
answer79
viewsProblem showing/hiding Ivs when uploading site
Hi, I’m using Jquery to show/hide Ivs. When I open the local page Ivs work normally (open and hide), but when you move the page up to the web (hosting), Ivs no longer work. I’ve looked at the…
-
1
votes0
answers138
viewshtml dropdown treatment for many options
I have a dropdown that is fed in PHP by consulting an Oracle database. It is working normally, but the amount it returns is 15,000 records and each record is an option in the dropdown. It makes the…
-
1
votes2
answers67
viewsHow to show the feedback message only for the focused field?
I’m performing a scan using jquery with the intention of applying this method in a more elaborate future project. There is no problem with the script, what I need is: When you start typing in the…
-
1
votes2
answers687
viewsSend a recorded video via Javascript by input type="file"
I am doing a questionnaire system for a client. From this questionnaire some questions should be answered by video. When opening the question page the camera already starts recording the user. I am…
-
1
votes3
answers81
viewsHTML and AJAX problem
I have a chat that works with AJAX. However, depending on some characters that the user type, AJAX does not work, I do not know why, but it does not work. Therefore, I need to remove the HTML from…
-
1
votes1
answer1217
viewsLoad a TEXTAREA field from a SELECT with Jquery
I have a modal that performs email sending. Only I created some email templates in the database mysql. On the screen appears my select with all the templates for selection, only that I would like…
-
1
votes1
answer4379
viewsBootstrap Modal Responsive - Height
I need a responsive modal that adapts the height of the browser. If the whole modal does not reach the height the scroll will not be shown, but if it exceeds the size/height, the scroll will be…
-
1
votes1
answer67
viewsInformation Is Not Loaded in MODAL Edit After Paging
Good morning Galera, I’m having a question and I was wondering if you could help me... In this first img, I have a table made with data table with a list of entries, and each of them has the option…
-
1
votes0
answers210
viewsDatetimepicker count and mark next working days
Good morning! I have a big problem, I use the Bootstrap Datetimepicker to include a calendar just above a stopwatch on an html page, but now it has been requested that in this calendar, the next 5…
-
1
votes1
answer816
viewsClear field with Jquery
I have a form where through the modal Bootstrap, it automatically uploads. It’s working properly, the problem is it’s not clearing the field. Look: <form method="post" id="form-upload" novalidate…
jqueryasked 6 years, 4 months ago user24136 -
1
votes2
answers201
viewsModal disappear after 3 seconds
I have an upload form that successfully performed, a modal appears. <form method="post" id="form-upload" novalidate enctype="multipart/form-data"> <label for="email" style="font-weight:…
jqueryasked 6 years, 4 months ago user24136 -
1
votes2
answers533
viewsHow to show next field when user click green button
I have several fields that are hidden and should only appear when the user clicks the see button next to the first field. My initial idea would be when the person clicks the green button (after the…
-
1
votes1
answer180
viewsRemove dynamic inputs
I wanted the help to be able to delete a line from my form with javascript. I am able to duplicate it, but not remove it. $(document).ready(function(){ var clone_step1 =…
-
1
votes1
answer64
viewsMobile menu: Click to open and then to close
I have this code to open a responsive menu, but I couldn’t get it to close. $('#menuMobile').on("click", function() { $('.showMenu').slideDown(); }); .container { width: 100%; background: #000; } /*…
-
1
votes1
answer325
viewsDrag and Drop between columns with Sort, move cards between them
I’m developing an application where I have 3 columns of cards, I need the cards to be moved from one column to the other and between each other. I was able to get the card moved to another column,…
-
1
votes1
answer32
viewsJquey does not work with inserted elements using . html()
Good night people, then.. I have an ajax code that takes a loop inside a php file and then inserts the result inside an html page. So far, everything works. The problem is when I want to manipulate…
-
1
votes2
answers81
viewsHTML preview showing the first element
I made this html preview, it works very well for my purpose but the first element is appearing as text, and this is a bad result, I understand very little of jquery and javascript, I’m starting to…
-
1
votes1
answer108
viewsHow to move element in a straight line towards the coordinate?
I can move an element in the direction of the coordinate successfully. However, for what is needed, it must move in a straight line (which is the shortest possible distance between two points). In…
-
1
votes2
answers3695
viewsIncrease the textarea size
I’m trying to use the Sweet Alert 2. I would like to increase the textarea field using the Rows attribute, but it is not working. How do I increase the field size? $('.btn').on('click', function(){…
-
1
votes3
answers74
viewsJust clear the field I want
have this script: $(".btn_contact").click(function () { $.ajax({ type: "POST", url: "./Inserir16", data: $("#feedback_form16").serialize(), // serializes the form's elements. dataType: "json",…
-
1
votes0
answers94
views$. ajax Calling twice
I am developing an application with Vue.JS and Jquery. The call is being made like this in Vue: methods: { efetuarLogin: function (event) { event.stopPropagation(); $.ajax({ type: 'post',…
-
1
votes1
answer288
viewsInput text with jQuery
'Cause I can’t type text into input ".task-act" which was created with the jQuery? $(function(){ function onTarefaDeleteClick(){ $(this).parent('.tarefa-item').hide('slow', function(){…
-
1
votes1
answer97
viewsRedirect page with post using ajax
I know the question is very strange, but it is a need that we have, I need to move to another page some variables that I rescued, but it is not only pass but redirect the page as well. I can’t use a…
-
1
votes2
answers80
viewsScript syntax error jQuery product variation
I have a script in jQuery, which basically filters the product variations of Woocomerce Wordpress and selects the desired option by adding the attribute "Selected", the big problem is that, I have a…
-
1
votes2
answers144
viewsReuse AJAX calls with jQuery
Hello It is very common to see on the internet calls ajax blocks that always repeat exhaustively the same structure, I would like to improve my calls using parameterization patterns and save code of…
-
1
votes1
answer28
viewsRequests between Web and PLC Siemens small delay
This Jquery function is controlled when a Switch from my page is made a change $("#statusM1").change(function () { if (statusM1 == 0) { url = "index.html"; name = '"motor"'; val = 1; sdata =…
-
1
votes2
answers56
viewsRandom site background videos
How could I make it so that, with every access to the site, a different video would appear? I understand that there are codes that change the background with images as below: <script…
-
1
votes0
answers44
viewsFullcalendar can’t make the call
Good evening to everyone I’m using the template limtless in my application But I’m not able to use the part of Fullcalendar I’m trying to use this calendar: Internationalization but I can’t make his…
-
1
votes1
answer82
viewsFocus on HTML Elements with javascript
I have the following code. This code contains 5 Ivs where when clicking on each one ,the one that was clicked receives a background value.I want that after clicking one of them,in the next click,…