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
-
2
votes1
answer314
viewsWrong width in Chart div
I am trying to make an effect, when I choose an option in select, I show the corresponding div with highchart. Has 2 problems: 1- Width of Chart is not correctly completing width of div. 2- I’m not…
-
2
votes1
answer27528
viewsCalling Javascript function with onclick with content loaded from div
I have a div that has its contents loaded after loading the rest of the page. It is called by a button via AJAX. I have another button inside that content that would call a Javascript function to…
-
2
votes1
answer433
viewsHow to do Trigger('change') in a select input?
I would like to simulate a change event in my input, but I’m not getting it to work. As soon as the page loads I select a different value in my input that way: $("#selExercicio option:contains('" +…
-
2
votes1
answer621
viewsIncrement and decrease value with slider (slider)
How can I create a flexible price list similar to this. Is there any Javascript/jQuery plugin to implement these functions, that I can customize it?…
-
2
votes1
answer474
viewsClear fullcalendar background
I’m using the fullcalendar to a system where the user clicks on a day to mark an agenda. I need to leave the background of the day clicked with a certain color and this I found in the documentation…
-
2
votes2
answers7467
viewsMake div close by clicking outside of it
I have a li with the id buscaBT, when I click on it, it leaves a div inside that li (formularioBusca) as display:block, so far, quiet, everything working. I did so: $( "#buscaBT" ).click(function()…
jqueryasked 10 years, 4 months ago Felipe Viero Goulart 3,693 -
2
votes1
answer104
viewsMake . append() before . load()
I’m using the .load() to load content (partial) from controller of my application. What I wanted to do before the .load, was to add code html while carrying a partial. I tried to do it .append…
-
2
votes1
answer88
viewsHow to remotely recover text from PHP messages in jquery.validate
Friends, I would like to know how to remotely recover text from PHP messages in jquery.validate. $('#ajax_form_inclusao').validate({ rules : { numeroContrato : { required : true }, dataInicial : {…
-
2
votes3
answers614
viewsjQuery’s$ doesn’t work
I’m using a code that uses $ jQuery, only when using the cipher it error in the console and the jQuery code ends up not working. The only solution was to use jQuery instead of $ :…
jqueryasked 10 years, 4 months ago Alisson Acioli 5,815 -
2
votes1
answer1353
viewsValidation jquery validate is not deleted when I close the modal bootstrap
How to make jQuery Validate validation messages delete when I close modal Bootstrap? I have the following codes that are executed when I close the modal by clicking the button Fechar and when I…
-
2
votes1
answer155
viewsTabs with slideup() and slideDown() for left and right
I’m wearing a plugin of tab.js and to change tab he uses slideUp() and slideDown(). Only I’d like to use Left and Right. How to do? My code: $(document).ready(function() { (function ($) { $('.tab…
-
2
votes1
answer422
viewsLike getting X and Y points on a Div?
I’m trying to create the following picture And I want to draw a line between each of them I believe it’s taking the X and Y axis, how do I do it?…
-
2
votes2
answers2134
viewsCapture data after character # in browser URL
I have the following URL http://urldosite.u/home#6 that when I move to a variable, it simply cancels out everything after the #. And I really want to pick up just what this after this and this…
-
2
votes1
answer344
viewsShow options to customize budget
I need to show the user the possibility to customize a budget, but I’m not able to show the options, only works the first, I’m using this code within a while php. What I got is this: THE HTML…
-
2
votes3
answers301
viewsCss selector syntax to delete <td> element with jQuery
Some way to use jquery and selectors in a way similar to this? $("#tabela td").empty(); I need to delete only the lines tr containing td of a table like this, but not the rows tr which contain…
-
2
votes2
answers2564
viewsMark all checkboxes of a Datatable table?
I have a ckeckbox that intends to brand all the options available in a table Jquery-Datatabeles, but after the next pagination Checkbox were not marked, that is, on the second page they are no…
-
2
votes5
answers801
viewsIs it possible to upload files without using PHP?
I have to make a video upload system, at first, without using the "server side". I wonder if you can do this without php, using Sqllite or Local Storage. I’ve researched several sites and I haven’t…
-
2
votes3
answers1882
viewsHow to use Fixed position within a div?
I have a div who has yours header and its content that has a height fixed and this has scroll. How to put position: fixed in the header (where is the title), without it moving when the scroll go…
-
2
votes2
answers3857
viewsDjango - How to redirect the user to the other pages of the application?
In the menu of the template I have a menu Dropdown with the links to the other pages of the app! In the menu of the home page of the application I have the links to the other pages of the…
-
2
votes2
answers118
viewsVersions of Jquery
Is it just me or is someone else having that problem? I use the Zurb Foundation to create my responsive websites and ALL fade sliders give problem. Both the plugins and the ones I do at hand. And…
-
2
votes1
answer599
viewsBootstrap Popover Trigger and html option together do not work
Does anyone know why when I put Trigger together with html:true or Popover stops working? HTML: <a href="#" class="popoverr" role="button" data-container="body" data-toggle="popover"…
-
2
votes1
answer117
viewsFailure to access Spservices in a Sharepoint list
I created a Spservices that queries a list in Sharepoint 2010 and returns the value of a single field. However, this query is returning the following error: soap:ServerException of type…
-
2
votes2
answers376
viewsjQuery Toggle Animation is not working
I have this code, and I would like you to toggle the click but it’s not working. Any tips sff? HTML: <body> <img id="topBar" src="imgs/topBar.png"> <div id ="wrapper"> <nav>…
-
2
votes2
answers577
viewsWhat is `$. extend` and `$.fn.extend`for?
jQuery has the functions $.extend and $.fn.extend. What are they for? How to use them?
-
2
votes2
answers4155
viewsMake item highlighted if it refers to the selected menu
I have the following code <div class="produtosMenuItens"> <div class="produtosMenuItensTit bs">Residencial</div> <ul class="produtosMenuItensDiplay" style="display: block;">…
-
2
votes3
answers71
viewsWrapping part of a string
I’m testing a function to select the part of a title that comes after the two-point sign: $('.carousel .item .carousel-caption h2').each(function(){ var val = $(this).text(); console.log(val); var…
-
2
votes1
answer577
viewsOpening page via AJAX with Lightbox
I’m using AJAX and Lightbox to upload a page. I will not post the whole code but the link I use to activate Lightbox and load the AJAX page is activated like this: <a class="lightbox" href="#"…
-
2
votes1
answer332
viewsMeaning of part of the Javascript code
I built a code to prevent my search tool from searching with the blank search field or with the default message that appears in value, I received a piece of code and when implementing an error that…
-
2
votes2
answers163
viewson() and bind() are not working
I’m using off() in an element to disable its functionality and need to enable it again with on(). But it’s not working when on() is executed... Here’s the code, I’m trying to prevent a form from…
-
2
votes2
answers308
viewsDuplicate Ajax Records, Jquery
I have an HTML page to confirm items of a goods transfer. It is used jQuery, AJAX with the option async: false and Vraptor. I took the following test: I created a download with several items. After…
-
2
votes1
answer211
viewsjQuery Datapicker error page with Ajax
I am finishing a registration page and realized that jQuery Calendar after loading for the second time does not work. $(function() { //Mascaras para Calendário.... $(…
-
2
votes1
answer145
viewsProblems with slideDown in jQuery
I’m having a problem that I have no idea what it might be, I understand very little of jQuery, in removing I managed to do the animation of .slideUp() but in adding that is a .append() I can’t make…
-
2
votes1
answer855
viewsHow to achieve a slideToggle effect with jQuery?
In this link, i have red stripes in the specialty. I would like to ask what effect I will use for that one div replace the contents of individual stripes with a type effect slideToggle from left to…
-
2
votes4
answers95
viewsAdd a "pass" limit to a Carousel slider
I am working on a simple slider Carousel and need that when there is no previous or next item it is not possible to pass to a non-existent element as is happening, http://jsfiddle.net/qd5d8x1h/…
-
2
votes1
answer183
viewsSet width for nicEdit editor
Does anyone know how to set the width of the nicEdit editor?
-
2
votes2
answers2929
viewsOpen tab after loading
I am thinking of doing this using jQuery and I used some methods already available on the internet but they are not working. I tried to modify it more I think I’m doing it the wrong way. What I want…
-
2
votes2
answers1078
viewsPagination of Divs
I have a div with a ul and within 30 li. Within that li has a img. I want when I have a new one li, in case number 31, it creates a pagination, leaving this new li inside the other div. Someone has…
-
2
votes3
answers2000
viewsPass checkbox list to php
As I can pass to a php page a checkbox list selected, I have this that shows me the checkbox, but I’m having trouble sending them to php. function SelecionaChecks() { var Check =…
-
2
votes1
answer790
viewsOpen a folder on the user’s machine and open a file (csv,txt or xls)
How do I open a folder on the user’s machine? I need to open the folder and upload a csv, txt or xls file. I use MVC5 That would be about it. A button that clicks in the folder and then I click that…
-
2
votes1
answer1004
viewsChanging td color without updating the page with ajax
How to solve this problem, I saw that there are solutions in ajax but I couldn’t develop, what I need is to change the color of td of a table without having to refresh the page, change the color of…
-
2
votes3
answers2284
viewsHow to disable Jquerydatatables auto search?
I am using Jquery Datatables, and need to remove the auto search that it has, leaving a "Search" button beside Someone’s already done it?
-
2
votes1
answer44
viewsHow do I search multiple Checkbox fields?
I have several Checkbox <div class="checkbox"> <label> <input type="checkbox" class="chkItem" name="Selected" value="1" /> A </label> </div> <div…
-
2
votes2
answers4896
viewsJquery Datatables - Pagination Number Quantity
I’m implementing the Datatables pagination and I couldn’t figure out how to modify the number of pagination buttons. As you can see, we have to 1 to 5, or we might have to 7 to 11 the numbers of the…
-
2
votes2
answers449
viewsHow to know that the file has reached the end with Filereader()?
I’m making a system that when the file has just been read opens the next file, the files are MP3 and wanted to play a sequence of songs whenever one finishes. How to do this with Filereader()? I…
-
2
votes1
answer136
viewsHow to redirect question "q=" from one site to another without changing the question?
I have a mini search site: http://www.cosmo-search.url.ph, and when typed www.cosmo-search.url.ph/search?q=PESQUISA-FEITA-PELO-USUÁRIO I need you to be redirected to…
-
2
votes2
answers3544
viewsCalling a jquery function when changing tabs
I have a jquery function that mounts an html. It turns out there is a View with 4 tabs. When selecting a particular tab, the function is called and of course, load the dynamic html to assemble the…
-
2
votes1
answer986
viewsHow to change the value of the meta tag?
I am trying to change the value of meta tags with data coming from the database but they are not filled inside the tags. The value is recovered normally and displayed within the script when the…
-
2
votes1
answer80
viewsProblem overlay @media
I’m having a hard time understanding something. I’m putting together a quiz and when the person doesn’t select any alternative one appears box box with overlay saying that it is for her to select.…
-
2
votes2
answers2343
viewsRequest Method Switching from GET to OPTIONS alone
I have the following code: $(function() { $('#method').change(function() { var method = $(this).val(); if (method == 'GET' || method == 'DELETE') $('#json-group').hide(); else…
-
2
votes2
answers1597
viewsRemove JS file via JS
I have a site that has the fixed side menu and the other part is loaded the pages. For each page of the site I made a js file. For example: Home.jsp I have the home.js file, Contacts.jsp I have the…