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
answer569
viewsMultiple modal bootstrap always returning the same content
I’m developing an Asp.net mvc application, on one of the pages of the site I call several bootstrap modals over each other, however, when you already have an open modal the new appears with the same…
-
0
votes1
answer37
viewsHow to print a redirected page?
In my case, has the home page, in it has the options to enter the post and print the page of the post, without having to enter the post. Like I’m walking into a page and printing it.
jqueryasked 8 years, 3 months ago João Filipe 15 -
0
votes1
answer204
viewsError making javascript request
I’m trying to make a request in this format $.get("http://meuurl.com/webservice", function (data) { console.log(data); }).fail(function (data) { console.log(data); }); But I get this mistake Failed…
-
0
votes1
answer93
viewsSlider jquery and variable php
I have the following page: <?php ini_set('display_errors', 0 ); error_reporting(0); include"conn_imprep.php"; if (!isset($_SESSION)) session_start(); if (!isset($_SESSION['s_usu_login'])) {…
-
0
votes0
answers52
views$_POST for dynamic variables
Hello, I’m having trouble rescuing by $_POST after submitting the form dynamic field values added with jQuery. I’m getting popular selects of the same line and everything is working, the big problem…
-
0
votes0
answers30
views -
0
votes0
answers110
viewsHow to get only the value of the year using jquery and datapicker?
Good morning, I’m doing an exercise that I have to take only the value of the year that the user chooses using Datepicker, and then I have to show only the year that was typed.
-
0
votes1
answer26
viewsFlexslider Buga in Tab or Modal
I’m making a tab with 1 Flexslider ( Slider ) in each tab, but the first works smoothly, already the second TAB the slider Buga, IE, I have to either minimize the browser or open element inspector.…
-
0
votes1
answer214
viewsDoes nothing when trying to open popup
In HTML I have this footer : <div data-role="footer" data-position="fixed" data-theme="c" data-tap-toogle="false"> <div data-role="navbar" data-grid="c"> <ul> <li><a class…
-
0
votes0
answers121
viewsContinuous scrolling of page after div with internal scrolling
In the middle of the page I have a div with an internal scroll, when I roll the page and I reach this div when using the mouse wheel I get stuck in it, when the div ends the scrolling does not…
-
0
votes1
answer2759
viewsReturn database records using jquery ajax, php and mysql
I am beginner in jquery and would like a help to the following situation: In this field: <input type="text" name="colaborador" id="colaborador"> How would you do where, for each typed letter a…
-
0
votes1
answer48
viewsBlur / Focus with Jquey
I am doing a project that has several inputs, but I can only type in only 2 of them, so I would like my jquery to do a validation so that the user can just enter these fields, something like this:…
-
0
votes1
answer232
viewsFilling in masked input with zeros
I’m using the plugin https://igorescobar.github.io/jQuery-Mask-Plugin/ to create mask in an input field, the mask I am using is as follows:. $('.campo').mask('0.0.00.000'); I need that when typing…
-
0
votes0
answers17
viewsDuplicated scrollbar with jQuery Vegas
Scrollbar appears twice by clicking on a tab that is larger than hers: I’m using the Vegas and the jQuery Hashchange. Maybe this is the code snippet from Vegas: body .vegas-container { overflow:…
-
0
votes0
answers453
viewsRotary banner with previous and next button
I have this code in jquery which is made for banner with numeric buttons (1,2,3,4...). I wanted to change the configuration so that it can be used with only two buttons, the next and previous…
-
0
votes2
answers287
viewsLightbox does not cover the entire screen
When I open the image in the lightbox, and I scroll down the page, it looks like this: Can someone help me? my code is as follows: html: <div class="mtlsr-images-for-lightbox"> <ul>…
-
0
votes1
answer662
viewsPosition scroll - Jquery - JS
Hello, I’m having trouble making a script in which I have the following structure Where the header and footer are fixed and the main has a scroll with the content. I would like to know how to get…
-
0
votes1
answer311
viewsSend form without reloading page being from different domains
I need to do a method that does not reload the page and send the data to a server on another domain. However I am having problems with the XMLHttpRequest. Does anyone know any method to do this and…
-
0
votes0
answers579
viewsGet dynamically generated element id (Begincollectionitem)
I own a View, where I take the selected value in a DropDownList, I use this value in a query ajax and people another DropDownList with the return of the consultation. Until that part, all right.…
-
0
votes3
answers1771
viewsHow to confirm that the page has left?
How can I confirm if the user really left the page, because when I click on the browser to exit and say I want to remain it turns the name of mine a 1 and then no longer 0. Does anyone have a…
-
0
votes1
answer219
viewsRange of Jquery loading
I would like to set a charging time between each load() to complete the loading of each. For that I would need to set a stop or something similar inside my Loop. That would be possible? for (var v =…
-
0
votes1
answer37
viewsJquery Mobile - Resources
Hello, is it possible to use just a few jQuery Mobile features? I would like, for example, to use his "Transitions" only. Is it possible? If that’s how? Thank you!
-
0
votes1
answer59
viewsReturn of JSON Data
I am performing a simple data return in a Jquery function. However, the error message is displayed. Follows code JSON: <?php header('Content-Type: application/json'); $dados = "Meus Dados"; echo…
-
0
votes1
answer86
viewsChange values depending on the selected checkbox number
I have several checkbox that pass the value to the input. My question is this:: If I mark Monday, Tuesday, Wednesday, Thursday, input appear: Monday to Friday If I mark the days Monday, Tuesday,…
-
0
votes1
answer283
viewsJquery: Mask does not erase
I’m not able to type anything inside a textbox field that I put date mask, it doesn’t let me erase or type over, it always stays 11/11/1111 It follows below the codes that I put: All I care about:…
-
0
votes2
answers77
viewsPage height with javascript, take the user to a point of the page
Hello, how can I develop a way to take the user to a stretch (height) of the page when clicking on a link! Example: <div class="roupas"> </div> <div class="bolsas"> </div>…
-
0
votes2
answers3313
viewsHow to work with CSS labels
When we use attributes such as Label the text is written from left to right. Can we change that? Make the text start for example from the middle to the sides or from right to left ? Example:…
-
0
votes1
answer1878
viewsModal window with PHP database request
I am trying to create a modal window that will bring from a Mysql database only the final part of a URL of an image that is available on the internet (eg parte_final.png ) the problem is that I am…
-
0
votes1
answer122
viewsCapture ajax datetime with jquery
I have an array containing some objects from an AJAX call. The values are being passed through a date: "res.datatags." In one of the objective answers the following result: 2016-07-15T10:00:00-0300…
-
0
votes4
answers1973
viewsHow to make a list item show/hide a DIV when clicked?
#fonte { display: block; width: 200px; height: 200px; outline: dotted; } #conteudo { position:…
-
0
votes1
answer73
viewsHow to take each value of a jquery object?
My array of output : { "status": "accept", "info": "", "message": { "row": { "1": { "id": "1677", "state": "AC", "stateid": null, "address": "RUA MARIA LUCIOLA DA SILVA", "addressinfo": null,…
-
0
votes2
answers105
viewsTransition in CSS sequentially
I’m developing a quiz where Divs transactions are done via CSS. The problem is that the transaction to add the next Div is running parallel to the withdrawal of the current one. I would like only at…
-
0
votes2
answers341
viewsHow to create a menu that performs an effect with jquery
insert image description here I wonder how to create a menu with jquery that when clicked opens a div as in the example above Twitter.…
-
0
votes1
answer94
viewsPopulate Validationsummary with Data Annotations errors in Submit by AJAX
I defined several Dataannotations for the model which the instancia form. When the Form Ubmit is not by AJAX everything works as it should, ie the Validationsummary is filled with the ErrorMessage…
-
0
votes1
answer339
viewsCreate search tags for Select2
I’m using the library Select2. I’ll use it to search for help pages, but I need it to search for tags and not just for text in Option ex: Today: <optgroup label="Mountain Time Zone">…
-
0
votes1
answer957
viewsHow to Style Current Page Navigation Link
The image above is a print of menu I’m developing that has the style I put right in CSS. But only when I pass the mouse above the link, that is when I do :hover which is what I was doing in this…
-
0
votes1
answer192
viewsRemove dashed edge when clicking on a select combo
I can’t remove the dashed edge that appears when clicking on an item in a combo box, I’ve tried css3’s Outline:None feature, but it didn’t work. Can someone help me? Ex:…
-
0
votes2
answers158
viewsactivating background overlay with link
all right? I’m preparing a layout for a blog and need to do a slidershow more or less as follows: I can already do everything beauty via CSS but I have a problem! The picture only activates when the…
-
0
votes1
answer187
viewsModify HTML element via Jquery functions
<div id="post-0" class="col-md-8 single-publicacoes"> <div class="index"> <div class="index-thumbnail">[IMAGE]</div> <div id="index-mascara">[EFEITO]</div>…
-
0
votes1
answer121
viewsHow to avoid the ajaxStop() method function in a single ajax call?
I have the following problem: There is a page where I use $.ajaxStop to give a $.unblockUI (modal plugin), this closes the modal "loading..." whenever the page ajax requests finish loading, the…
-
0
votes2
answers87
views -
0
votes1
answer39
viewsInput Text similar to google drive file sharing
Hello! I would like to know how to make my text field look similar to the image. I need to take the bank’s valuables and leave them like this when selected. It already works with jquery…
-
0
votes1
answer240
viewsjquery code and Chrome problem
I’m having a hard time with the following jquery code. JQUERY $(document).ready(function(){ $('#expand').click(function(){ $(".container-fluid").slideToggle("slow"); }); });…
-
0
votes1
answer41
viewsActive section in the div
How can I use jquery’s Trigger? I need the page to click and that first "read" is already pressed. <ul id="quote-popup-tabs"> <li data-quote-tab-for="consorcio-auto">Automóvel</li>…
-
0
votes1
answer803
viewsUse jquery.validate to validate image dimensions
I’d like to know how to use the jquery validate to validate the dimensions of the image being sent. In my case, the image has to be 400px high and wide.…
-
0
votes1
answer2080
viewsChange the background-image of the div according to the banner image
I need to create an effect on my slideshow that for each image displayed in the slideshow the background of div class="banner-backg" change the background-image. For the slider I’m using the…
-
0
votes1
answer222
viewsHelp with progress bar!
Hello, good morning, I would like to know if anyone has seen or implemented a progress bar when scrolling the page. a bar that is fixed below with a forward button more or less that.. var sections =…
-
0
votes1
answer486
viewsvalidate image input file jquery Multiple 4 ways
Good evening guys, I have an Multiple input file and I need to do 4 validations before sending the form. 1) Limit the number of images sent to 10 2) images have to be of type jpeg or png ( put only…
-
0
votes1
answer85
viewsI would like that bar when scrolling the page
But just go filling the steps when scrolling the page, someone can help? $(document).ready(function() { var i = 1; $('.progress .circle').removeClass().addClass('circle'); $('.progress…
-
0
votes2
answers59
viewsModal window does not work correctly by clicking YES
I’m having some difficulty with the following Jquery code: JQUERY $(document).ready(function(){ $('#modalLogout').click(function(){ $('#yes').click(function(){ function time() {…