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
votes1
answer141
viewsDecrease the Elements feature in the DOM applied in the Jquery that generates Ripple
Well I am with the effect of Ripple almost ready but I notice some bugs mainly to delete the effect after applying but it does not affect the execution but rather the Performance of the Browser,…
jqueryasked 8 years, 5 months ago iLeonardo Carvalho 561 -
0
votes1
answer96
viewsTwo functions on one button
I created this answer for a question, it works perfectly, inserts it into the database and everything. I wanted just one thing, when I pressed this button it besides saving in this database,. if…
-
0
votes1
answer311
viewsGoogle Translate script does not translate and does not generate error
I am using the following script to translate a website. <div id="google_translate_element"></div> <script…
-
0
votes2
answers3068
viewsDynamic Combobox with jQuery + Laravel
I am on a registration screen where there is a combobox of State and Cities. City has q be filled after the state is selected. I have create.blade.php <div class="form-group"> {!!…
-
0
votes2
answers647
viewsPopular an object array with a string
I have a string with the following content: "Carlos Alberto xxxxxxx 11/02/2016 $103.10 Juliano Fontes xxxxxxx 12/02/2016 $102.10 Carlos ALberto xxxxxxx 13/02/2016 $500.00" I have my array with the…
-
0
votes1
answer286
viewsMenu does not stick underneath the header
I have a video on html5 at the beginning of the page and then a menu below it that should be fixed as we scroll the page as in this website here. However I do not know what the correct way to do…
-
0
votes1
answer6197
viewsSyntax error, unrecognized Expression when calling a function with Jquery
I am using in my project the Easyautocomplete, which is working perfectly. However I have this error in my project and could not find it. If I take Jquery the error does not happen. It follows my…
-
0
votes1
answer70
viewsjQuery does not return to HTML
I cannot write the return inside the HTML element in case of success, he writes the console.log, but not in html. Code: $(document).ready(function () { $('.comentarios').click(function () {…
jqueryasked 8 years, 5 months ago Ciufi Horacio Desenvolvimento 1 -
0
votes1
answer423
viewsHow to use ajax to select Where
I need to bring information from the bank to a modal, when I click the button should open the modal and bring the infos, to id may be written in a tag or in any other way? But basically it is…
-
0
votes1
answer48
viewsaddClass() to an object via an external link
I need to create a click() function for 8 links that are in one pagina X, each link will take me to a specific slide in a pagina Y. Slide is active when it is with Class selected, then my idea is…
-
0
votes1
answer422
viewsHow do I click on the menu, it scrolls the page until the div conrespondente?
I have a menu with a class named 'whoSomos' and I have a div with id 'whoSomos', I want to click the menu, it scrolls to this div whoSomos, I even tried to do it with html but it rolls in a very…
-
0
votes1
answer105
viewsHow to run a Rigger after another Rigger
How to make the second Trigger only run after the first Trigger to load the html completely? $('#element-one').trigger('click'); // aguardar o primeiro ecento (carrega um html via ajax)…
jqueryasked 8 years, 5 months ago Bruno Nascimento 489 -
0
votes0
answers59
viewsUrlrewriterfilter problem load css and js
I am using taglib as a template to load header, body and footer on my jsp pages. For friendly Urls I use Urlrewritefilter. The problem is when I pass parameters in the URL friendly as it does not…
-
0
votes0
answers30
viewsHow to display a modal in the beforeunload?
With the event beforeunload, i can display a message when the page is to be canceled or updated. $(window).on('beforeunload', function () { return 'Testando'; }); But the client for whom I usually…
-
0
votes1
answer767
viewsHow to validate if there is an upload file?
I have a form for uploading files: @using (Html.BeginForm("importCSV", "Administrador", FormMethod.Post, new { @id = "upldFrm", @enctype = "multipart/form-data" })) { <div class="form-inline">…
-
0
votes0
answers214
viewsHow to create the Hover effect with two canvas superimposed with opposite effects?
Previous Code. *Below is the example of the code: Jsfiddle Antigo New code for anyone! Jsfiddle Novo…
-
0
votes1
answer48
viewsSave selected colors even by going to another page
Any idea how to have 2 (options) arrays with styles to change colors in specific site locations (for example change 3 classes: .header, .footer, .sidebar), but keep the option on which the user…
-
0
votes0
answers593
viewsHow to make a chained list with Javascript that points to an element I want?
Example: I have an array of blocks, each block has a process object that has a state attribute, which can be free or busy. How do I make every free process, point to the next free process even…
-
0
votes1
answer156
viewsTabbed Scroll - Stop setInterval with jQuery.mouseup
I need to implement tabs in my application, and when they exceed the area limit, I need to have the option to scroll them (horizontal scroll). I created the buttons of scroll ←, → and programmed so…
-
0
votes0
answers38
viewsIs it possible to zip files with php?
I wonder if it is possible to zip photos with php, for example: I select 300 photos and these 300 photos when you click on the boot they will be zipped and sent in the email. it is possible to do…
-
0
votes1
answer583
viewsDynamically load contents via <select> tag
I have a question, and I wish you could help me. My case is the following I have a dynamic where according to the selected option it returns a JSON with information from Hotel Units. What I need is…
-
0
votes1
answer143
viewsSeveral "Divs" inside a foreach
I want to put a ranking system with stars like "imdb", but the element only appears once within the cycle. Script: <script> $(document).ready(function () { $(function () {…
-
0
votes0
answers77
viewsMaintain values when using history.back
Guys I have a search page that is all in ajax that is working cool, like the website of Trivago. Only when I change the values of the fields and then I choose one of the answer items I load a new…
-
0
votes2
answers1263
viewsShooting click event with Trigger does not work as expected
I am using the Wordpress plugin Metaslider for slides, and in it is possible to add links to the images. I created a button and I need to simulate the click, as you were clicking on the currently…
-
0
votes1
answer256
viewsElement Position Before Dragging - Droppable - jQuery
I am making a game and need to get the position of an element before dragging it. I am using the function Droppable jQuery UI. jQuery $("div.cesto").off().droppable({ accept : "span.piece", //…
-
0
votes1
answer774
viewsReplacing accents and cedillas
I’m having a problem in javascript do a window.open() with a string the problem is that if the string has accents or cedilhas gives error , someone knows a way to replace the accents or cedilhas by…
-
0
votes0
answers26
viewsValues post in a Listbox without being selected
It is possible to make a Post of the values of a Listbox without them being Selected? My Listbox: @Html.ListBoxFor(m => m.SelectedCatequistas, new MultiSelectList(ViewBag.SelectedCatequistas,…
-
0
votes2
answers157
viewsHow do I get reply json in php?
I have the link: https://dominio.com/apiJSON.php?data={"login":"[email protected]","senha":"Minhasenha","campanha":"ID 1234","mensagens":{"1":{"numero":2799999999,"msg":"Uma mensagem…
-
0
votes1
answer551
viewsCompare fields in jQuery
I need to compare the fields according to the script below: $("#send_request").submit(function(event){ var password = '7c4a8d09ca3762af61e59520943dc26494f8941b';…
jqueryasked 8 years, 4 months ago Sr. André Baill 6,946 -
0
votes2
answers864
viewsHow to upload image canvas
I get the result of an image through this function this.canvas.toDataURL('png'), this function generates the image normally, the dots are: How to upload this to the PHP server using jQuery? Is it…
-
0
votes0
answers548
viewsPopulating Cities/Neighborhoods in jQuery with fields in Array
I have the following JS. <script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.js"></script> <script type="text/javascript"> $(document).ready(function(){…
-
0
votes3
answers664
viewsProblem with window.open() JS
I have a table composed of 3 columns: link, status, action. In the action column, I have 2 links that will serve as "buttons": VIEW & DISCARD This table has on average +100 lines... I need that…
-
0
votes2
answers605
viewsAuto-click every 10 seconds
I have a Carousel on the site, and I want it to run every ten seconds, as if the visitor had clicked the button to effect this process. This is the site http://www.clinicafelipemeletti.com.br/ Here…
jqueryasked 8 years, 4 months ago Felipe Viero Goulart 3,693 -
0
votes1
answer91
viewsFormatted text box(code sample)
I need to display information on the screen but it needs to be displayed as code(javascript, c#) formatted and color(code sample), there is some component in jquery or something like that ? Example…
-
0
votes2
answers601
viewsScript for side menu
Does anyone know a script for making a responsive side menu that looks like the one on Badoo?? When you are viewing the site on a device with large screen the menu appears with all the options and…
-
0
votes1
answer783
viewsDisplay dialog box when right-clicking
I have a form with multiple fields and I want to put the option of the user to insert a comment in the field value. Example: <form> <input type='text' id='campo'> <input type='hidden'…
-
0
votes1
answer169
viewsHow do I use the Youtube API?
I have a page with a video that opens in a modal, I need it to be paused when the modal is hidden. I tried examples I found on other sites but it didn’t work. I need to add some extra file to use…
-
0
votes1
answer127
viewsProblems with selector and jQuery
I’m trying to run a code but it doesn’t work, I don’t know if it’s because of a logic error in its execution, see, this code runs when the button OK is pressed:…
jqueryasked 8 years, 4 months ago Vinícius Lara 3,750 -
0
votes2
answers48
viewsget combo field values before saving
I have an html table with N values and would like to get the values of the fields (combo), property name='caption[]' before saving, just to display to the user the fields he filled in .…
-
0
votes1
answer5292
viewsRefresh in div without loading other content
Good morning, everyone! I have a page in ASP that has basically 2 Divs. A div where there is a panel that connects to a database and takes 3 information from there (a kind of Dashboard) and a div…
-
0
votes1
answer96
viewsLoad jQuery does not capture data
Hello, I made a registration page, where I get consular origin and destinatario, working perfectly. Now I’m doing the editing page. Since I already have the cpf_cnpj of origin and destination, I…
-
0
votes2
answers197
viewsOpen div by clicking on a date
How do I open one div click on one of the dates? When click on another div open close and open the clicked with a different content? #agenda { width: 1000px; height: 500px; background-color: white;…
-
0
votes1
answer1539
viewsChange span value with jQuery
I have the following elements : <span class="teste">256,00</span> <span class="teste">110,00</span> <span class="teste">16,00</span> <span…
-
0
votes2
answers73
viewsHow do I make my Modal only appear on the customer’s first visit ?
I made a modal, this java code that I used $(document).ready(function(){ $(".janelaModal, .fundoModal").fadeIn(); $(".botao").click(function(){ $(".janelaModal, .fundoModal").fadeIn(); });…
-
0
votes1
answer245
viewsProblem in smoothing scroll on anchor links
Beginner in Jquery, but I used this script I found to give the smoothing effect in the scroll to the link "anchored": $(document).ready(function () { function filterPath(string) { return string…
-
0
votes1
answer55
views -
0
votes2
answers4960
viewsAdd Header and Footer to all pages
I am creating a new version of a city guide portal, there are several pages and currently the staff uses the include of the . shtml: include virtual="../header.htm" include virtual="../footer.htm"…
-
0
votes2
answers48
viewsPHP session after Load()
I’m facing a little problem regarding my session.. When I reload the page by the function load(), my session does not update and the message is displayed Notice: Undefined variable: _SESSION From…
-
0
votes1
answer140
viewsGenerate random class with Jquery
Opa! Was needing that when the function was executed, the class that the #body would receive, were random among the existing ones. Example: $(document).ready(function(){…
-
0
votes1
answer943
viewsPut Youtube video as website background
I want to put a background video on a wait screen. Can you do this by pulling a video from youtube without showing the default buttons and have it start automatically? The Jquery I have to put the…