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
answers213
viewsHow do select go back to the initial state after "deselect"?
How to make sure that when I unselect a specific select option, it goes back to "initial state"? Here’s a simulation of my problem: https://jsfiddle.net/andrealbson/o1xs3m8x/…
-
0
votes1
answer75
viewsCSS / jQuery - How to select the next element after main?
Basically, I’m giving a margin-top on the first content after the header, according to the header size. The problem is that each page of the site has different elements after the main (div or…
-
0
votes1
answer176
viewsUse a Focus for several fields.
Good morning, I created a function to validate cnpj in my form and I need to use a Focus() for the cursor to be in the input when the user enters the wrong cnpj, but there are 3 distinct fields of…
-
0
votes1
answer96
viewsConflict when loading jQuery on the page
I believe you have some jQuery conflict. I have on this page, among others, the link <script type="text/javascript"…
jqueryasked 9 years ago Rico Gaucho 11 -
0
votes1
answer276
viewsAccept string with letters, numbers or dots
I’m using the Jquery Validate plugin to validate facebook usernames, and by default it can have letters, numbers and points. Ex: joao, joao22, joao.maluco22 How to validate this with jQuery…
-
0
votes1
answer415
viewsCapture the hours in the fullCalendar library
good morning! I am working with the library fullCalendar, and would like help in capturing the hours when clicked on a certain interval. I’m getting a lot of good, the problem is only with the…
-
0
votes1
answer915
viewsCheck if page was loaded after button to be clicked
I have a button that calls other 4 buttons via jquery, each button opens a new tab and is in load state until the pdf is automatically downloaded, I need to check if this page has finished pressing…
-
0
votes1
answer1958
viewsHow to make the automatic animated scroll effect?
This site I found https://cliquestudios.com/ has a super cool effect that I would like to do a similar on my site: When you scroll down, item 01 changes to 02. Consequently, the content changes. I…
-
0
votes1
answer401
viewsTurning INPUT into Dropdown Items?
How can I turn inputs into a droplist menu, via jQuery? My code: <li class="select skuList item-dimension-Tamanho"> <span class="group_0"> <input name="293_Tamanho"…
-
0
votes1
answer1942
viewshow to format variable with jquery Mask
People use the plugin jQuery Mask Plugin v1.13.4 I have a div where I report a value as follows: $('#v_pg').text('PAGA R$ ' + valor_pago); Use Jquery to update the value inside the div. But I wanted…
-
0
votes1
answer484
viewsRemove element within iframe
Hello I have an Iframe that has an image and would like to remove it, but it’s not working... <script> $( document).ready(function() {…
-
0
votes1
answer61
viewsHow to disable Jquery script on mobile devices? Is it possible?
I simply want to disable my Jquery script, not to run on devices smaller than 768px, it is possible?
jqueryasked 7 years, 10 months ago Sr. Bigode 511 -
0
votes1
answer28
viewscode block only works with F5
someone would tell me why this block of code only works after refreshing the page? var count = 0; $( document ).ready(function() { // alert("testando bloco"); $("#select_n").attr('id', 'select_' +…
jqueryasked 7 years, 10 months ago Erasmo Santos 299 -
0
votes3
answers87
viewsHow to make animation to show the rest of the paragraph?
I have a paragraph and I would like to show the rest of it when I click on "Details", but I want an animation down showing the rest of the content. Paragraph that will appear: Lorem Ipsum is Simply…
jqueryasked 7 years, 10 months ago Bruno Hilário 21 -
0
votes1
answer289
viewsAdd get parameters with a select/option value in the url
I have on the page that lists the properties of my site a search form and a select that makes the result ordering. The problem: Doing a search in the form and passing the values via get…
-
0
votes2
answers2265
viewsPopular table using Json
I’m having a hard time getting a table in my code cshtml. I’m new to the ajax and I’m not really understanding what I need to do with the data that came from the bank. Just follow my code: Code…
-
0
votes1
answer96
viewsDisable fields before radio button is selected Opencart
I have a jQuery function, which hides or displays some fields according to the radio selected. But I need to hide all fields if the radio is not marked with any value. The code works, but in…
-
0
votes2
answers639
viewsEvent onClick is not working!
Event $('.target').on('click', function(){}) on a button I’m holding via ajax, but it doesn’t work, I believe it’s because the content isn’t loaded on the page yet, so.target doesn’t exist when the…
jqueryasked 7 years, 10 months ago Filipe Rodrigues 3 -
0
votes0
answers785
viewsFill table and add rows as Json result
I am trying to fill a table that generates the number of lines automatically as the result of Json, I can do the Json work, it brings all the values I need, however, when updating the table with…
-
0
votes2
answers948
viewsHow can I open a modal after a Submit event
I need to open a modal after a Submit happens on a certain button, I was wondering if you have any event for this, something like post-Submit.
-
0
votes1
answer1417
viewsEditable combobox with filter
I wonder if there is a plugin or a tutorial teaching to create a combobox that allows, as you write on it, filter the items, as in the image below: Note: I am using ASP.NET MVC with C#.…
-
0
votes1
answer47
viewsProblems with float and position Absolute
hello, I’m trying to make a kind of menu like this: https://jsfiddle.net/ofjw7cah/1/ However, I would like the text to open in 100% width and occupy the whole line. As I am using bootstrap, I could…
-
0
votes1
answer1270
viewsFill select with Jquery
I am using the Jquery autocomplete and it is working noralmente. But, this populating a type text that contains only one field (txt itself) to fill. I would like a select to be filled instead of…
jqueryasked 9 years ago Carlos Rocha 1 -
0
votes2
answers2029
viewsNext and Prev Arrows in Slider
I’m trying to change the image using the arrows NEXT and PREV. HTML <div id="imagem-galeria"> {!! Html::image('img/quem-somos/galeria/foto-grande-1.jpg', 'Peças Colhedora de Cana', ['class'…
-
0
votes2
answers102
viewsActive menu item but no longer works as link
a basic question about Jquery but intriguing. Active li in menu. This logic I used works. However, the 'a' tag loses its main feature which is a link to the other pages. <html> <head>…
jqueryasked 9 years ago Bruno Manso 51 -
0
votes0
answers88
viewsRoutine ajax doubt populating the page itself
Just one question. In the ajax URL field, when I work with MVC, I usually put the action/controller. Well, in my case now I have an Asp page. What passes is that ajax is on the same page that I will…
-
0
votes3
answers2214
viewsAdd html with jquery
Good when I want to add an html to the page using jQuery I do like this: $("body").html('ddd'); But in this way I delete old content, it is possible to add html in Body without deleting page…
-
0
votes0
answers28
viewsOpen a query string and add the value to an input from an iframe
I have a page that contains an iframe with a form, I would like to be able to access a string query of the main page and add that value to an Hidden input that is in iframe. It is possible? Thank…
-
0
votes1
answer160
viewsEvent from the choice of jquery radio option
I’m having trouble deploying the following function and would like your help; I have a input with two options of radio. if the user selects the value, the jQuery removes the class hidden of a div…
-
0
votes1
answer175
viewsRadio Carousel Radio Uttons
I am using the plugin Owl-Carousel 2.0.0, to make a Carousel of images packaging products that are selectable, through a radio input, only one package must be selected, the structure of this…
-
0
votes1
answer39
viewsVenobox Plugin Error in Safari Mac Osx
I have a small problem in this plugin, the name is Venobox. With the same function as Colorbox, it opens iframes, photos, external links and HTML in the famous lightbox effect. I took a project in…
-
0
votes0
answers32
viewsError loading partialView
I have a curious problem. I created a page that lists records and it has two links, one to delete and the other to display details. Both call for a modal. Each modal is a modal partialView. To…
-
0
votes1
answer94
viewsapply css property directly by javascript and a good practice?
I am creating a website and so I can maintain a greater control and save time of having to change tab all the time I am applying the properties direct by javascript, I would like to know this…
-
0
votes1
answer51
viewsConstruct a table on page B with BD data and download on page A by ajax_jquery
I need now in a b.Asp file, build and popular a table(html) and then download by ajax in the a.asp file. So: b.Asp file <%@ LANGUAGE="VBSCRIPT" %> <% Option explicit %> <!--#include…
-
0
votes1
answer3366
viewsHow to clean input?
OBS.: url and number types mainly but if you want to put of other tb without problems) Preferably in pure Js! I’ve tried things like this.value'; and they haven’t solved! OBS 2 : I have read the How…
-
0
votes1
answer245
viewsPopular type["text"] by select
I’m trying to popular a type["text"] through jquery and it’s not working! Form: <div> <label>Plano:</label> <select name="plano" id="plano" required> <?php echo…
-
0
votes0
answers33
viewsProblem side menu jquery
I’m having trouble closing the side menu on intelXDK, I use JQuery to make the opening and closing but the problem is when I close, because it does not maintain the margin of the rectangle I…
-
0
votes1
answer520
viewsI need to add a cell phone of an html table dynamically
Hello I’m with a code I would like it to sum between the cells of a table and display below in total according to the code below. -more would like dynamically as you add another column below the…
-
0
votes1
answer397
viewsHow to add 2 Dropzone in the same view
Well I’m trying to add two Dropzone on a screen, one is specific to a file(pdf,doc) and the other is for attachment(doc,pdf,image etc). Below is an example of using Dropzone: @{ Layout = null; }…
-
0
votes1
answer330
viewsput variable in jquery selector
I researched other similar questions, but their answers didn’t help me because, the selector I’m using is different. want to catch a tr in a tbody of a table, using the selector nth-child(n) but in…
-
0
votes1
answer4468
viewsWorking with fullcalendar jQuery
Good need to release the click on the event, when clicking, I will have to give option to edit the event, the information of it, plus the option to delete this event. Fullcalendar Website On the…
-
0
votes1
answer2028
viewsButton action after clicked - jQuery
I have a button that when clicked it closes the modal, in fact it does an action with CSS doing the div disappear, just getting the button to be clicked again and open the modal. However I am not…
-
0
votes0
answers24
viewsHow to pick the position of an id with jquery to assign an effect when scrolling?
I want to make these very common effects on websites that when scrolling up to a certain id or class it makes an effect, I don’t know how he knows that arrived in such part of the page, someone…
jqueryasked 7 years, 8 months ago Otavio Fagundes 978 -
0
votes1
answer43
viewsjQuery adds class, but does not remove
I am using this code to add a class to leave a fixed menu. The problem is that it is not removing the class afterwards. How to proceed? $(window).on('scroll', function() { if ($(this).scrollTop()…
-
0
votes1
answer1414
viewsUpload does not reach PHP via AJAX with . serialize()
I’m implementing a posting system on my future website where it requires uploading images. But when making the request with AJAX the PHP script returns an error stating that the name "img-post" of…
-
0
votes1
answer948
viewsSave data from a query to an array and display via Jquery
I am making a game of questions and answers, I need to make a query on the bench and I will pick 4 columns (id, question, answer and challenge) and it will return me 10, 15 or 20 lines, depending on…
-
0
votes1
answer295
viewsCheckbox conflicting with paging
I’m trying to use the bootstrap-table to create some filters in a table, in the first column has a checkbox, that when a function is selected JQuery copies the column row and adds in another table,…
-
0
votes2
answers46
viewsMenu error appear slowly
then person I am having problems with if I and with function Hide(), show() I am creating my portifolio and I want the menu to be fixed from scrolltop 70 and I want it to appear slowly then I did…
-
0
votes1
answer76
viewsRead URL values in Javascript
I need to read all the values of a URL (below) in Javascript, taking both the name and the value to store in a database.…
-
0
votes3
answers249
viewsDisable button in modal window using Jquery
I have a modal window with a button, and I would like it to be disabled when pressing the button (a tag), and present "Wait..." Look at my code: //#idDivModal4 -> modal //.btn-enviar-lembrete…