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
answer88
viewsHow to pick up input before the button?
I have some input of the text type followed by buttons: <input type="text" /> <button>inserir</button> <input type="text" /> <button>inserir</button> <input…
jqueryasked 6 years, 10 months ago Italo Rodrigo 4,344 -
1
votes0
answers81
viewsConflict with JS wordpress
I’m learning how to turn a site into a wordpress theme, but I came across an error that I can’t solve: Some plugins require me to have the HEAD code this code adds the JS of WP, and conflicts with…
-
1
votes1
answer453
viewsZoom in to the selected image thumbnail in the Input file
Hello, I’m using the plugin Zoom in to zoom in miniatures and I’m generating the thumbnails in an input file field to display the images the client chose to upload. I would like to take advantage of…
-
1
votes0
answers82
viewsDisable JS script on certain pages
I added a JS script in the PHP base of my project in Codeigniter, this makes other controllers also run this script. How would a particular page not run this script?
-
1
votes1
answer103
viewsCode only works when you restart your PC
I am creating an application mostly in PHP, and occurred a few times when making a call in Java, Jquery or CSS and sometimes even another page in PHP and does not work as it should. I went through…
-
1
votes2
answers931
viewsMaterialize CSS - sticky label at the top
How do I always pin my label to Top? Normal behavior: stays in input, when we click on input (Focus) it sits on top of the input <div class="input-field col s6"> <input…
-
1
votes0
answers160
viewsModal in jquery does not open
I’m building a page that when doing a database search, returns a table with the data found. In this table a td brings a link and passes a record at the same time. Clicking on the link should open a…
-
1
votes3
answers451
viewsRole reuse on the same page with Jquery (beginner) Change event?
What is the possibility of reusing $.change ? Guys, I have a problem. I need on the same page to use several changes in several selects. Here’s how it works: First change: User chooses in select 1…
-
1
votes1
answer150
viewsRetrieve Values from Cloned Fields Created Through JQUERY UI
Good morning, you guys. This is a job I’m trying to do. This code creates clones of the compounds, which can then be dragged to a certain location(They can be dragged by clicking on the blue…
-
1
votes1
answer169
viewsRemoving space at the end of a word
I created an application in React Enable and it searches online via POST. It works well, the point is that some devices include a space at the end of words, ex: The user types natação, but the phone…
-
1
votes1
answer1876
viewsOwl Carousel how to use? HTML5 CSS3
Good guys, I started following tutorial on how to make a Carousel because I’m trying to make my HTML5/CSS3 page have a 4 items per slide Carousel, so I saw as the only way this plugin since I…
-
1
votes1
answer365
viewsHow to enable a button, only when you accept the terms
Well, I’m doing a virtual product shopping site, and I need my customers to accept the "Terms of use". The method I used was this <input name="ck_permissao" type="checkbox" id="ck_permissao"…
-
1
votes2
answers1617
viewsGrab a css property with jquery
Could I check a css property with pure jquery or js? Note: Using is.(':Visible') is not feasible in what I need. Example: var display = $('.test').get('display').val() if(display == 'block') {…
-
1
votes1
answer87
viewsHow to send data to the database, compare and display on the website?
I am making a site where I will add the section "My ideal skateboard", where the user will enter his name, email, age, height, style and experience (beginner, intermediate or professional), doing…
-
1
votes3
answers73
viewsDo you have any "parse" commands for jquery?
I get a string like : R$10,00, I wanted to change it to 10.00 to be able to calculate, I tried the code below, but it didn’t work. for (let i=0; i<numColunas; i++){ valor =…
-
1
votes1
answer321
viewsJquery Validate does not execute the event when fields are autocompleted
I am trying to validate a form without submitting it. What I have done so far works well. The problem is when the browser auto-fill completes the login and password that were saved to the IP. If I…
-
1
votes1
answer35
viewsDoubt manipulation of values js
I have the following entries in html: COD_01 VALOR_01 COD_02 VALOR_02 e asim por diante até.... COD_99 VALOR_99 User will feed each COD and VALUE. I need to create a js to: 1- Somar todos os…
-
1
votes2
answers125
views -
1
votes1
answer513
viewsBring BD data with javascript
Hello ! I have a MENU and a submenu within each item of this menu. Every time I click on a menu item, it opens a sub-menu (accordion effect). There’s a way to make a select within the database and…
-
1
votes1
answer88
viewsMove DIV when opening Nav menu Jquery Bootstrap
I would like to move the div below the menu, so I choose some option from it. var cbpHorizontalMenu = (function() { var b = $("#cbp-hrmenu > ul > li"), g = b.children("a"), c = $("body"), d =…
-
1
votes2
answers399
viewsHow to Make a Mask for Field Validation
How can I make a chew for a field where the usurer is not this low standard example '0.50','0.60','0.70' decimal values always within quotation marks and separated by comma if typed wrong show…
-
1
votes1
answer928
viewsHow to treat a decimal field with no homes after comma in a jquery mvc c#mask
I have a model with the following definition: [Display(Name = "Quantidade / Volume:")] public Int32 RoQuantidade { set; get; } In my View to fill the data when empty, that is, that have not yet been…
-
1
votes0
answers141
viewsProblem with label on top of graphics in Chartjs
I’m using Chartjs and Stackedbar to create some graphics, however, Chartjs has no option to put the respective values on top of the bars, for this, I implemented the following solution:…
-
1
votes1
answer503
viewsFocus on the last line of the div with scroll
I have a div chat-history attribute-ridden overflow-y:scroll. Through jQuery I insert information into the database and then update to display in the div chat-history. I need that when updating the…
-
1
votes1
answer168
viewsRequest Ajax jquery Jsonp Returning Undefined
I need to process the feedback of the following code below. Remembering that it works correctly but, at some point, the search term does not exist returning "Undefined" and shows nothing on the…
-
1
votes2
answers289
viewsDjango create paging using Ajax
I want to upload the pagination without refresh using ajax I have a table where shows 5 items per page the goal is to change page not refresh the page to switch to the following In the views: In the…
-
1
votes1
answer26
viewsHow to create relationships between different data to perform an action?
This statement returns me the state acronym: SC $("#billing\\:city").val(dados.uf); I have a select so I can’t change: <select id="billing:region_id" name="billing[region_id]"> <option…
-
1
votes1
answer1591
viewsHow to show "loading" screen with modal bootstrap in any c#server process
I need my pages to show the whole server process a screen with a type of Carrying using the modal bootstrap I created below. My problem is to be able to show this in all processes. Is there any way…
-
1
votes0
answers282
viewsAjax does not work on the server
I read some answers in the forum, but none managed to solve my problem, Ajax works in place, but when I go up it just doesn’t work, follow the code: jQuery('#formLogin').submit(function(){ var dados…
-
1
votes2
answers43
viewsProblems with Jquery selectors
My problem is this, I have this code: <script language="javascript"> $(document).ready(function(){ $('#simular').each(function(){ $(this).click(function(){…
-
1
votes2
answers91
viewsJquery calculation with mask and large values
After several steps, solving problems, I’m at the end of a research form that I’m putting together. Finally, there are two problems: in the "Monthly Budget", the "toLocaleString" does not work. The…
jqueryasked 6 years, 9 months ago Rogério Pancini 397 -
1
votes1
answer191
viewsSelect td based on text
I have a table where I want to select the td's that contain certain text. I have tried options such as: console.log($("#minhaTabela").find("td[value='A']"));…
-
1
votes1
answer860
viewsproblem with "inspect element"
Friends; I am developing an application and have a manager where I list the database records. The information is arranged in a table and I have a checkbox for selecting the records that can be…
-
1
votes2
answers152
viewsDivs background with a larger side q other
Good afternoon guys, could someone please explain to me how this effect is done on the slope background, or slope, depending on how you look.. kkk I tried the results on the page, but I can’t see…
-
1
votes2
answers582
viewsJquery Repeater - Repeat values in select
I’m using the plugin jQuery Repeater. I need that by adding a new item/line, remove options already selected in select or that disable. Ex.: Linha 1 - Opções: Valor X | Valor Y | Valor Z Option…
jqueryasked 6 years, 9 months ago Renan Melo 25 -
1
votes2
answers413
viewsHow to add css to all elements whose id contains "..."?
I have several elements whose id contain, for example, "elem", may be "%elem" or "elem%", may have characters before the String elem as after or before and after ("%elem%"). And I would like to add…
-
1
votes1
answer474
viewsManipulate Jquery autocomplete ui
I am implementing in a system the query through an input using the Jquery UI Autocomplete. In practice when consulting a value by field name(Ex: São) my input will display a list of possible…
-
1
votes0
answers31
viewsCreate an object for each group of equal ids
how can I create a single object containing the data when the question id is equal and within a $ each loop ?…
jqueryasked 6 years, 9 months ago Carlos Lopes 185 -
1
votes2
answers1404
viewsCheck if checkbox is selected in input
I would like to trigger a direct javascript event in the checkbox input when it is selected. For example: <input type="checkbox" isSelected="call()"> Note: I don’t want to make a script.…
-
1
votes1
answer57
viewsproblem with firefox menu
Galera set up a table where I right click on it and open a menu. The problem is that in firefox I have to give 2 clicks. And it keeps closing when I move the mouse. I have tested on all browsers and…
-
1
votes1
answer680
viewsimage resizing proportionally
what is the name of the technique used to resize img proportional. for example I have a 200x400 image and I want to show it in a 150x150 square how do I resize this image while maintaining the…
-
1
votes2
answers703
viewsshow angular variable in iframe
Hello, I have a youtube iframe and I have to pass to it i video ID, which is saved in the database, for this I am using an angular variable, as follows: <iframe width="100%" height="650px"…
-
1
votes2
answers226
viewsAngular Datepicker - Prev and Next
I am using the following calendar in my project: https://angular-ui.github.io/bootstrap/#/datepicker I need to customize the back and forward calendar buttons, I disabled these default calendar…
-
1
votes1
answer116
viewsChange Class according to ID
I have the following structure. <div id="cabecalho"> <span data-bind="attr: { id: solicitacao.numero}"></span> <div> where, request returns me a number from 1 to 10 i would…
-
1
votes1
answer67
viewsZoom repeats multiple google maps
I have a infowindow on my map. Every time I give a dragstart I close this infowindow. My problem is I give one infowindow.open(map, marker);, to open the infowindow. Every time I do that, he adds…
-
1
votes1
answer28
viewsCalculate using jQuery filled fields
I have the following fields: moeda, taxa_compra, taxa_venda, valor_reais, valor_total I need you, when filling in the sales fee, to calculate: taxa_venda / valor_reais e represente o total no…
jqueryasked 6 years, 8 months ago Sr. André Baill 6,946 -
1
votes2
answers171
viewsSVG, Canvas or CSS? Need to network with interlinked images
Well, that’s it. I thought about using SVG and image with borders but my concern is about responsiveness, in smaller devices will get all messy I wanted a way for the lines to automatically connect…
-
1
votes1
answer416
viewshow to insert a variable that brings an array into the database?
I have a page that has a textarea and in this textarea the user will put a list of records and in these records I separate the strings with the function explodes this is my html index.php code Mtms…
-
1
votes2
answers73
viewsJquery accumulating events
I have a problem in a listing, is the following, I have a table, for each row has a link to be able to edit the line, with this, when clicking on this link opens a bootstrap modal with all its…
-
1
votes0
answers476
viewshow do I check if a text file is empty in php and if it is finished?
I have a code that executes a simple query like this select * from tabela where coluna1 = 'valor'; then I have a variable that brings a txt file $filename = "C:/Programfile/arquivo.txt"; and then I…