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
answers1592
viewsLoad Value in Input
Good Morning, I am trying to load a value into Input after the user clicks the button. // Este é o Botão <button type="button" class="btn btn-default" tabindex="-1" onclick="id_host()">…
-
0
votes0
answers45
viewsTransforming American Data for Brazil in Js
I have the following date on JS : 2015-03-26T16:22-04:00 what code can I use to transform it into the Brazilian format?
-
0
votes0
answers175
viewsjavascript does not display image . gif in Chrome and IE
I’m using Bootstrap and in a modal simulate the process of sending data to the database. When the user clicks to save it displays an alert message asking if this is exactly what the user wants to…
-
0
votes2
answers284
viewsScrollbar - Calculate Motion Field
How to calculate the scrollbar div motion field in this case: JSFIDDLE var margem = 0; function criarBarraDeRolagem(){ if ($( document ).height() < $( window ).height()) { return; } var tamanho =…
-
0
votes1
answer64
viewsignore the cursor position on the scroll bar
How to ignore the cursor position on the scroll bar ? Jsfiddle var margem = 0; function criarBarraDeRolagem(){ if ($( document ).height() < $( window ).height()) { return; } var tamanho = $(…
-
0
votes2
answers278
viewsJquery is only appearing value of an input with . serialize()
I started studying Javascript and Jquery. I was doing a test to display on the screen what was sent via Form, but it is sending value only from a field, someone would be able to help me?! Here’s the…
jqueryasked 10 years ago Wallace Ferreira 181 -
0
votes0
answers185
viewsCalling web service via Ajax with focusout function
$("#<%=txtProduto.ClientID%>").on("focusout", function (event) { event.preventDefault(); $.post(AjaxService.Pessoa(<%=txtProduto.ClientID%>), function (data) {…
-
0
votes1
answer2012
viewsHow to change CSS settings for all Divs with jQuery
I need to change the color of background, the colour of the texts and links of all the Divs of one website. I was able to do this in Javascript with the following code: <script…
-
0
votes2
answers97
viewsAttr with Internet Explorer
I have an application where I click on a table row, jquery takes the table row id, mounts a URL and put inside a href='' The problem is I’m not getting it to work on the attr.(), I already tested on…
-
0
votes1
answer600
viewsHow to automatically select menu item?
I have the following code: http://jsfiddle.net/xktjk03w/ HTML: <!DOCTYPE html> <head> <title> Teste </title> </head> <body> <div class="navbar navbar-inverse…
-
0
votes1
answer68
viewsjQuery event without user interaction
I am accessing the Mysql database and giving a Select in a table q will return several ddd’s and phones, with this data I would send to a server via get or post using jquery with ajax. The problem…
-
0
votes1
answer602
viewsSomar Campos Input
I am trying to sum up some fields in a final input `. I have a input id #TotalFR and would like that, according to the fields #CFR1, #CRF2, #CRF3, #CRF4 and #CRF5 are completed, the sum of the…
-
0
votes0
answers130
viewsHow to make continuous cycle2 Carousel without pause?
I’m using the first example of this page http://jquery.malsup.com/cycle2/demo/carousel.php , but I don’t want you to have this break in the transition. I would like you to keep running the images…
-
0
votes0
answers35
viewsScroll down to the end of the div
I have the code 1 - $("#fluxo-msg").load('fluxo-mensagem.php', {fake:fake, user:user}); 2 - 3 - $('html, body').animate({ 4 - scrollTop: $("#vemaqui").offset().top 5 - }, 1000); In the line 1 i…
-
0
votes1
answer87
viewsDetect an image exchange
Guys I have an img tag that has a button that loads several images for the person to choose, so he chooses the src of this tag is changed. I need to detect when this src change happens and show an…
-
0
votes0
answers783
viewsHow do I place a rotating banner with images on a responsive website?
I made a rotary banner with jQuery on Dreamweaver for a responsive website. When viewed on the Desktop it looks perfect, but when I switch to mobile or tablet the photos stay distorted. How do I get…
-
0
votes2
answers195
viewsToggle "a" href by clicking on other elements
I have two payment selection buttons where when selecting a button, a third button to finalize the payment has your href changed, according to the chosen option. Demonstration in the codepen:…
-
0
votes1
answer158
viewsjQuery.load() error in Safari (OSX) only
I’m having a problem using jquery.load() to load part of another document that only occurs in Safari on Mac (in the latest versions: Safari 7.1 and Osx 10.9.5). All other browsers (including IE)…
-
0
votes2
answers333
viewsA div superimposed on an image descends according to the scroll bar
I have a div that shows some details about an image when it is displayed, but I’m developing for mobile and when you slide down the Ivs that contain these details also move out of the images. Follow…
-
0
votes1
answer2216
viewsPick up dynamic loaded element id
My script contains three parts: The first is the display page (e.g., home.php) on it I include two other pages. The second is a page that queries the database and displays the first 5 results (e.g.,…
-
0
votes0
answers170
viewsHTML (DOM) testing with Jasmine or other framework
How do I test HTML with Jasmine? I know there’s a guy named jquery-Jasmine.js who does this but I have no idea how to install it because npm doesn’t work when I try to install it (it says that Git…
-
0
votes0
answers28
viewsSwap text color by draw
Guys I have an array with 4 colors I would like to draw a color every 4 seconds and change the font color of an H1 I have on the page and for this use fadein and fadeout as transition. Thank you…
jqueryasked 9 years, 5 months ago Joao Nivaldo 1,229 -
0
votes2
answers392
viewsFunction does not enter ajax success with jquery
I cannot enter the success of ajax with this function. The function works, that is, calls the double click. The first Alert is ok, but the second is not fired. $('#nmUsuario').on("dblclick",…
-
0
votes0
answers146
viewsScreen-up effect
Personal as I do this paralax effect of climbing the screen by overlaying other. Ex. Manutti Just scroll your mouse and you’ll see the screen go up and pass over the central banner. Editing: I read…
-
0
votes1
answer1811
viewsExplodes in Jquery
I’m still struggling in Jquery, before that I’m bringing a value of Mysql database: <div id="cod_<?php echo $jmValor->IdCodUsuarios; ?>">Nome do usuário</div> But I need to do…
-
0
votes0
answers125
viewsPass Images Ahead on a Slider
<script type="text/javascript" src="modules/FeedNoticias/js/jssor.js"></script> <script type="text/javascript" src="modules/FeedNoticias/js/jssor.slider.js"></script>…
-
0
votes1
answer126
viewsHash in url with JS plugin
I wonder if anyone knows any plug-in or script that picks up the url hash. But that is usual in all browsers. Take more than one hash per url. I know there are several examples on the Internet, but…
-
0
votes1
answer211
viewsHow to select the result of a CEP json in an existing option?
$.getJSON(url, function(json){ $("#pf_endereco").val(json.logradouro); $("#pf_bairro").val(json.bairro); $("#cidade").val(json.localidade); <---- $("#estado").val(json.uf); <---- How to put…
-
0
votes2
answers2471
viewsLoad HTML pages into a <div>
good morning! I’m a beginner in HTML and CSS. I created a web page where I basically have the navigation menu and I have the other pages in separate files. I would like that by clicking on a menu…
-
0
votes1
answer43
viewsDynamic Data() Jquery Add
I would like to know the following. I am using the jquery’s data function. As HTML code is dynamically created, I cannot assign the date. //Aqui tem um each $('#div').append('<span class="vor"…
-
0
votes0
answers41
viewsjQuery, scroll, fadein scroll elements when they are at 150px the bottom of the window (viewport)
I know there are plugins for this but I wouldn’t want to use it unless I really had to, in this case I don’t think I need to. I would like a series of divs faded (one at a time) when your 'top' was…
-
0
votes1
answer823
viewsChart highcharts does not appear
I’m trying to use the chart: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/column-drilldown/ However save the file in the same way and…
-
0
votes3
answers755
viewsCan you click on a <TD> and get the value of another <TD> Hide?
One with 4 , being an Hide. Is there any way I can click on any and take the value of this Hide and send it to my controller? That way I get the value of the is being clicked.…
-
0
votes2
answers1547
viewsProblems using Dropzone.js in a form
I want to add fields to a form that uses Dropzone.js to upload files. When I add the files to upload, the screen looks like this: var Galerias = function () { return { //main function to initiate…
-
0
votes1
answer193
viewsLink does not work after <div> load
I’m making a login, using Ajax to send the data to a PHP page, which returns with the answer if the login has been validated or not. If it is ok, I update a <div> with the user data logged in…
-
0
votes1
answer325
viewsEmpty session updating only DIV
I logged in in PHP, where I validated the data via Ajax and I load a PHP page into a DIV, so I don’t have to refresh the whole page. So far so good. <?php if(!isset($_SESSION)){ session_start();…
-
0
votes1
answer268
viewsHow to make random numbers
Hello someone would tell me what the name of this effect has on this site : http://www.popupdesign.com.br/ as soon as scrolling the page above the contact us there is 4 image and below it generates…
-
0
votes1
answer1134
viewsCall the jQuery event not working
I have a button on which adds some components on the screen (input, drop down etc...), via jQuery manipulation. Among these components two buttons, respectively one of "Save" and the other of…
-
0
votes0
answers98
viewsUpdate multiple Ivs on one page
I have a page where I need to update some divs with information coming from the bank. With this I am doing this way: <div id='diva'>conteúdo a</div> <div id='divb'>conteúdo…
jqueryasked 9 years, 4 months ago user24136 -
0
votes1
answer136
viewsAjax callback using Spring MVC does not work
Well, I’m trying to make a simple phone call AJAX (which already works), but the callback is not "triggered": $('#negotiation-status').on('click', '#button-add-destination', function (e){ var…
-
0
votes1
answer145
viewsLinks to Tabs in Jquery
I’m having some problems in following example. I intend to add links from another page, with href. When I click on these links, automatically open the TAB, it is possible? First page where I have…
-
0
votes1
answer542
viewsHow to know which is the first and last element with Jquery?
Good evening, everyone. I have a question. I am doing an image gallery and would like to know how I know what is the first and last element. Like I have the right and left arrows for previous image…
-
0
votes1
answer40
viewsJquery Slideshow Error Passing Slide
Problem I have a slideshow where I have to show two divs each time. Even at first you get them both all right, but once it returns to div 1 and 2 in the next 'next' I give a div 1 continues there…
-
0
votes1
answer132
viewsSuccessful message when finishing uploading images
Because at the end of the upload of the images is not entering the "DONE" when he would have to present a message of success. I’m using the plugin jQuery File Upload. Follows my code:…
jqueryasked 9 years, 11 months ago Danilo Molina 117 -
0
votes2
answers542
viewsjQuery Flipster "Uncaught Typeerror: Undefined is not a Function"
I am using jQuery Flipster plugin and is giving error "Uncaught Typeerror: Undefined is not a Function" Follows the HTML: <input name="carvar" id="carvar" type="text"> <div…
jqueryasked 9 years, 11 months ago Flavio Barros 3 -
0
votes1
answer90
viewsProperty is coming as Undefined
In the controller I have a lambda that returns me three fields. When I run in jquery it tells me that the property is Undefined. I think it’s the way I try to take the amount. Can someone give me a…
-
0
votes1
answer65
views$jQuery Easy Slider Numeric
I am using Jquery easySlider1.7.js, and have a question about the property 'Numeric'. When using this property, the plugin adds a link to each slide below the images, only when selecting one of…
-
0
votes1
answer227
viewsHow to recognize each list element with Struts 2 iterator tag?
I iterated through a list, adding inputs to be changed. When the field with the class dataFimVigencePlanoVigent is changed, a jquery function is called to change also in the object in java. However…
-
0
votes0
answers124
viewsdataTables jQuery does not work properly with accentuations
I’m using the plugin dataTables of jQuery and the problem is happening because of accentuated words. For example, there are several items in the list, and one of them is called coffeehouse. In case…
-
0
votes2
answers1490
viewsHow to clear inputs after performing an ajax request?
I have an AJAX function that while loading the database information to feed the inputs is written "Loading...". If you do not find any information it continues with this loading written in inputs…