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
votes3
answers757
viewsProblem with Return false in Javascript
I need to develop an accordion menu and am having problems with the click event. My script: $(document).ready(function(){ $('.dropdown').click( function(){ $(this).find("ul").slideToggle(); return…
-
0
votes2
answers470
viewsUpdating data from a div?
How do I update an element’s information div with jQuery without necessarily reloading the page? Ex.: Send a post of a insert and the information provided by insert appear right on the div pulling…
-
0
votes2
answers892
viewsdynamic background - jQuery
I’m testing a slide of images, I’m dynamically altering the background using jquery’s "css" function by changing the url("image path"); But I realized that every time there’s a switch, he lowers the…
-
0
votes2
answers1796
viewsZoom in with jQuery
Have any plugin that leaves the site the size of the screen? When a site opens in resolution x, it gets that size. For example, when I open the site on TV it gets small and I want it to increase in…
-
0
votes1
answer1116
viewsjQuery - accordion open item individually
How to configure the plugin accordion of jquery-ui so that when I click on some item it does not close the others, for example when I click it opens the clicked and closes the others but I want when…
-
0
votes2
answers278
viewsHow to modify the input file path?
Good evening, I have a file type field, when I click on it opens a dialog box so I can choose a file from my computer. My question is this:: Instead of choosing a file from my computer, I would like…
-
0
votes1
answer155
viewsCheck if an element exists with switch
Hello, how do I make a check and check if certain element exists using switch? To be more specific, I’m trying to use this code: var forumversion = function() { invision =…
-
0
votes2
answers210
viewsProblems with the presentation of cshtml(Visual)
I have a cshtml, which is shown like this: A sequence of filters that are fixed. When I click search, then I get the return of a method in the controller via json by a jquery function and in the…
-
0
votes2
answers2569
viewsUpload progress with jquery or php
Guys I use a script to upload images with PHP and JQUERY and would like to display the percentage of progress while it is sending, how can I do that? Thank you..
-
0
votes1
answer286
viewsjQuery Mask does not read innerHTML
I’m having trouble generating mask reading(jQuery) on elements generated via innerHTML. Only that the validator works and after trying to insert a die outside the mask it loads the page with the…
-
0
votes1
answer5157
viewsMake div height decrease as user decrease screen
I have a div and I want it to decrease when the user decreases the screen. I have something similar to the width, I did so: ($(window).width() -320) it takes the total width of the screen and…
jqueryasked 10 years, 4 months ago Felipe Viero Goulart 3,693 -
0
votes1
answer142
viewsResizable does not work on dynamic image
I have a tool that when the user sends any image the function resizable does not work, unlike the static image that is already on the site. I projected online my doubt, on the following link:…
-
0
votes1
answer142
viewsLoad var into jquery with data from BD by Controller
To var str has script with fixed values. How do I get these values to be loaded from a BD through a controller? I already have the method that brings me this. var str = ""; var data = [];…
-
0
votes1
answer114
viewsCoffeescript/Javascript return/scope problems
I’ve got a route in the Rails get '/estados_por_pais/:pais_id which returns me a JSON array with states of this country. This works perfectly. I created a Coffeescript class with a static method…
-
0
votes1
answer875
viewsReturn json to a variable
I have a code in PHP that creates a json: <?php $array3 = array(array('0,1300', 'Thalita', 'Nicole')); echo json_encode($array3); ?> And I have another code that is in jQuery that forms a…
-
0
votes3
answers238
viewsFooter does not position at the bottom of the page
My css: #rodape { position:absolute; bottom: 0; } .RodapeFaleConosco { float:right; } .RodapeTermoPolitica { float: left; } Now my code in jquery to load html str += '<div id="rodape">'; str…
-
0
votes1
answer183
views.load does not work if element is already loaded
I have the following problem. am using . load to perform an action after loading an iframe $(document).ready(function() { $('iframe').on('load',function() { $('#diviframe').fadeTo(200,1); }); });…
-
0
votes1
answer3002
viewsUsing 'Hide' and 'show' in a div
I have a div that when I click on it it shows and hides an ul. With the code like this: <ul class="homeMenuItens"> <li> <div pagina='/produtos/incendio'…
-
0
votes4
answers868
viewsFind current page and change Div style
I have a div which is repeated five times: <div class="produtosMenu f-left margin-top-35 margin-bottom-35"> <a href="/paginaSYS">tituloMenuSYS</a> </div> It’s a list of…
jqueryasked 10 years, 4 months ago Felipe Viero Goulart 3,693 -
0
votes2
answers1196
viewsHow to make an Animate up to the mouse position and after starting to follow the mouse?
I have the following code $(document).ready(function(){ var LeftInicial = $('.MarcadorMenu').css('left'); var WidthInicial = $('.MarcadorMenu').css('width'); $('.CorpoMenuHead').hover(function(){…
-
0
votes1
answer869
viewsHow to make a mosaic type gallery
Good people, I wish someone could point me some link or give me a light on how to make a mosaic type gallery, as in the link: http://todomundoodeiaochrisonline.blogspot.com.br/ This style there is…
jqueryasked 10 years, 4 months ago ivan veloso 2,900 -
0
votes1
answer498
viewsJqgrid Configure Sort
I wonder if by Jqgrid, I can do a sort configured, for example: I have the following columns: Request, Sequence, Procedure, Tooth, Date, Guide. So when you click on the Request column, I want you to…
-
0
votes1
answer1756
viewsPass PHP value to Simplemodal Form via GET
I’m using the Simplemodal Contact Form by Eric Martin, but I’m having a hard time passing a variable to the form via get. I wanted to, in the index.php, I could send the variable $palestra_titulo,…
-
0
votes1
answer124
viewsHow to make "custom" background for a word? (how the image shows)
How to do this kind of background effect, as shown in the image below? If possible using CSS. I want it to look like the image. I did it with the text-shadow (http://jsfiddle.net/9N94B/) but it…
-
0
votes1
answer252
viewsAjax paging via server
I need to make a pagination via server only via Ajax. Below I’m posting the grid how I’m doing, but I need to get the dynamic values and do not know how to do, follow the grid function…
-
0
votes2
answers1762
viewsHow to create a responsive pricing chart?
I need to create a responsive price list, but I don’t know how to start. I don’t know if I use list or table. Below is an example of how it is to stay: Does anyone have any idea?…
-
0
votes1
answer1021
viewsHow to Build Object Array
I’m trying to build an Object Array in Javascript, but the result is not as expected. That’s how I’d like it to stay: But this is how it’s getting: That’s the code I’m using: var wo = new Array();…
-
0
votes2
answers80
viewsCss in all php/mysql generated Ivs
How to do when the mouse enters the div it increases the opacity to 1.0 and when it exits the div back to previous opacity Example: PHP/MYSQL $query = mysql_query("SELECT * FROM bd) or…
-
0
votes1
answer1055
viewsSend a modelView as parameter to a modal bootstrap
When searching for how to render a partialView in a modal bootstrap, found this link: Using Bootstrap Modal window as Partialview, only I need to make a request POST by clicking the button that…
-
0
votes5
answers22327
viewsSimple Rotary Banner
Guys, I want to make a very simple rotary banner, with only the arrows on the sides and an image that changes all at once clicked, but I would like to use as little as possible of Jquery or…
-
0
votes2
answers2098
viewsBrowse the entire DOM with jQuery
How to go through the whole DOM and find a certain element in jQuery? Yes, by clicking on li of classe="home", open the div of classe="submenu". <body class="home"> <!-- Header -->…
-
0
votes2
answers286
viewsToggle in a div next to (or below)
I need to manipulate a div from the click on another div. Basically, one is on top of the other, I want to click the top one and so the bottom one runs the event .toggled(). But one cannot be inside…
-
0
votes1
answer595
viewsCombobox which best method: Onselectedindexchanged via autopostback or Jquery?
I have the following Dropdownlist on Asp.net Webform <asp:DropDownList ID="DDL_Categoria" runat="server" CssClass="form-control" AppendDataBoundItems="true" > <asp:ListItem Value=""…
-
0
votes1
answer173
viewsjScrollPane with jQuery Sortable from 2 lists
I’m riding a layout where I have two lists (first with 3 maximum items and the second with other items), I can move items between the lists using the sortable jQuery. The function works perfectly,…
-
0
votes1
answer125
viewsNan sInfo _TOTAL_datatable jquery/JSON
I have a problem in return of JSON in variable TOTAL that returns Nan is strange pq before the problem was in the variable END I removed and added END again and back to normal but, began Nan in the…
-
0
votes1
answer267
viewsPopulating DIV after selecting a data in the list
Could someone help me with this code? I assume I do not understand about 80%, I am trying to popular the INFO div after selecting one of the options in the SELECT field, this information will be…
-
0
votes1
answer414
viewsRefresh on page when giving resize
I have my function to resize, function resizeGrid() { $(".divGrid").css("height", ($(document).height() - 325) + "px"); } $(resizeGrid); It works as I’d like, but when testing in the browser, I…
-
0
votes2
answers233
viewsHow to reload a page with load.gif?
Dear, how do I make the page reload so it doesn’t "blink"? I can leave a GIF on the screen while the page is reloaded? $('#objetivos-form').live('submit',function(){ var form = $(this); // validando…
-
0
votes2
answers1045
viewsQuestion with multiple school in Jquery
I wanted to do a questionnaire-like scheme. The closest example I could find was this: http://quickenloans.github.io/SlickQuiz/ But I don’t want a quiz and not all of it in JS. I want something…
jqueryasked 10 years, 3 months ago Vinny Oliveira 77 -
0
votes1
answer60
viewsShow Featured Image with Crop at index.php
I’m programming on this link http://catalogos.axitech.com.br/ and need to solve this structure since 1 to 4 squares has an image highlighted almost twice the size of other images. I know more or…
-
0
votes1
answer46
viewsRemove class depending on site height in refresh?
I own a website with animation that starts as soon as the object on the screen is visualized. However, if I give F5 in the middle of the page, by climbing to the mean refresh top in the middle of…
-
0
votes1
answer296
viewsDroppable jQuery event does not work
I have the following code to perform the Drag and Drop event: $(".device-profiles").draggable({ revert : true, start: function(event, ui) { dragColor = $(this).attr("data-color");…
-
0
votes2
answers1264
viewsMeasure time the user is logged in to the system
I need to know how much time the user spends on the system. That is how long it remains, from the moment it makes the login, to make logout OR close/browser/disconnect PC/disconnect connection, etc.…
-
0
votes1
answer742
viewsHTML/Javascript Connection Webservice C#
I’m trying to make a connection to the bank using web service. I even set up an example where I created the functions sum and multiply in my Webservice, but I’m having difficulty connecting my…
-
0
votes1
answer199
viewsSend data to Fomulario by Dialog
Dear ones, I set the code to display a table in a dialog, but I would like to , when clicking on the icon, the name of the table field was sent to an input field of my form. Another detail, my…
-
0
votes1
answer760
viewsJavascript error - Uncaught Typeerror - Unable to resolve
Give me the following error: Uncaught Typeerror: Undefined is not a Function. I still can’t fix it. I’ve already changed jquery versions and nothing. I looked for quote errors, semicolon and still…
-
0
votes3
answers647
viewsDynamically load from the bank and mount a treeview in cshtml I’m not getting
is as follows. I am not getting satisfactory results in assembling a tree using checkbox as in a treeview. Well, when I put the fixed data works very well. But when I bring the BD data, that’s where…
-
0
votes2
answers2303
viewsEvent . click() of jQuery, does not work with tag <button> ( with Bootstrap 3 )
I have a website with 2 files (index.php and modals.php). No index.php use include("modals.php"); and in modals.php I have several modals that are generated dynamically, according to the information…
-
0
votes2
answers302
viewsHow do I save the option chosen by the html user as a cookie?
I have a Javascript background change system on my site, and I want when the user chooses the background he wants, the background he chose to keep when he accesses the site again. Javascript…
-
0
votes1
answer51
viewsDialog fields appearing when page updates
Dear, I’ve inserted some divs to work with dialog and tabs , those using jquery. Everything is working well, but every time I enter or update the page, the fields that have a dialog "behind" gives a…