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
answer115
viewsCustom data in full Legend jquery
I need to upload custom data to full calendar jquery, such as the id of that event. I tried to do so: title: '{{$reuniao->TXT_TEMAX_REUNI}}', start: '{{$reuniao->getStart}}', allDay: true, id:…
-
0
votes1
answer768
viewsHide/change console error message
I try to take for example a file that does not exist on my site, as: try { $.getScript('app/controllers/arquivo-errado.js', function(){}); } catch (e) { // caso de erro } The error is returned in…
-
0
votes1
answer171
viewsChange properties of a div with one click
I have the following html: <div id="personalizada"> <i class="fa fa-plus" aria-hidden="true"></i> </div> <div class="balao"></div> I would like when I click…
-
0
votes1
answer610
viewsJavascript upload image (GIF)?
I am trying to show a loading image on my pages using these functions: $(document).ready(function(){ $(".loading").hide(); $.unblockUI(); $(".menuLink").focus(function() {…
-
0
votes1
answer1180
viewsEffect on navbar bootstrap
People would like to know how I do this animation of the header of this site https://blackrockdigital.github.io/startbootstrap-agency/ the effect of when I scroll down the page the header changes in…
-
0
votes1
answer147
viewsChange color of Divs of the same class according to the text it contains in them (Jquery)
I have several divs with the same class, inside them has the text "FREE" or "PAID", in which contains the text "FREE" need to have a color and "PAID" other. I used :contains() but how they are divs…
jqueryasked 7 years, 8 months ago user64576 -
0
votes0
answers148
viewsReload all css within a div
Gentlemen, I will try to explain my problem, I hope to be clear. I’m using C# MVC5 in my app. Today I have a page and in it a grid. In this grid there is a button to edit the record. By clicking…
-
0
votes0
answers123
viewsRemove class giving transition effect
Guys I have a class called 'Fixed' with a Transition in it, when I add this class it makes a transaction, the problem is that when I remove this class, it is being removed very roughly, do not know…
-
0
votes1
answer188
viewsAdd header in Jquery’s getJson function
It is possible to add some header in jQuery’s $.getJson function? I am having cross-origin problems and read in some places that adding some header information can solve this problem.
-
0
votes0
answers300
viewsHow to pass the @Html.Dropdownlist value to the controller?
I have a registration modal that I receive 2 values, I use an AJAX to save the information, however the value of @Html.DropDownList does not go to my Controller, the strange is the value of the…
-
0
votes1
answer602
viewsRun array with WHEN method, javascript
Well, I have an array of numbers and I need to send each separate checker to the server, but I need to wait for all of them to be executed before I perform my final action. I searched and then…
-
0
votes2
answers520
viewsTaking the total in pixels of an element passed in variable in percentage
I’m riding a div which must be an exact square, but this square must be based on the square itself width that is being set up with pocentagem (%), but need the total value in pixels. EX: 5% = 105px…
-
0
votes1
answer5011
viewsallowing only letters in the input with jquery Mask
You can only allow letters in input with jquery Mask? I’m using this plugin: Jquery Mask Plugin…
-
0
votes1
answer178
viewsJquery plugin does not work on github pages
Guys I put a Jquery plugin called nice scroll for the page to scroll slowly, but when I open the page on github pages it doesn’t work, the rest of the script and css are all working except them,…
-
0
votes1
answer522
viewsDisable Submit button after validating empty field using jquery
I want to disable the Submit button to validate some fields preventing them from being empty. But there is a catch, because these fields are only displayed according to the selection of a combo. Ex.…
-
0
votes0
answers117
viewsSimple click on the active input the "Domsubtreemodified" event
I’m using this code: document.body.addEventListener('DOMSubtreeModified', function () { document.title = 'Editar Material *'; formChanged = true; }, false); To check for any changes in the various…
-
0
votes1
answer32
viewsHow to access, in PHP, values passed as parameter using jQuery.post()
How to individually access string values cores and array filmes on a PHP page? var filmes = ["Mad Max", "Assassin's Creed"]; var cores = "cor_um=Azul&cor_dois=Preto"; $.post("autosave.php",…
-
0
votes1
answer57
viewsSave images to device without expiration
I have an application made with Intel XDK, running on iOS and Android. The intention is to display images that are on the server, and store them on the device to not download every time it is…
-
0
votes0
answers34
viewsImage that goes "Filling"
There is how I put an image and put a filter to be black and white, and as I want the image will get colored? Example: I have an image of an item that I want to conquer, it has stages to be…
-
0
votes1
answer198
viewsHow to prevent a link redirect and still change the url?
I have a side menu with several links, I am using ajax so that when someone clicks on one of the links the central content of the page is modified. How would you do this operation ?? I’m currently…
-
0
votes0
answers253
viewsHow to work with dynamic form in jquery?
I wonder how I can work in a simple way with this dynamic form , type the categories comes from the database via jquery and ajax and appears on the screen as a form for the user to select your…
-
0
votes3
answers3583
viewsGet input sum value with Jquery
Good evening, everyone. I can’t put together a cool script for that. For example, I have four inputs and, just after I fill in some of them, I would like to display the result of the sum of inputs.…
jqueryasked 7 years, 8 months ago Rogério Pancini 397 -
0
votes3
answers1198
viewsBlock event click element
I have a JS function that displays banners on my page if it is the first access of the day. In this popup there is an input for the person to enter their email, but when clicking on the input, the…
-
0
votes2
answers77
viewsPOST in Ajax arrives with null data in the Actionresult of MVC5
I have an AJAX function that is the event click of a button where I pick up all the checkbox which are checked and caught the values of each and play on an array this way:…
-
0
votes0
answers86
viewsInput file type open when loading page
I have the following input: <input type="file" accept="image/*" capture="camera" style="display:none" id="capturar"> I would like when loading the page to already open the field to select the…
-
0
votes1
answer1100
viewsSelect Datatable Line via Javascript
How do I select a line from a Datatable via jQuery or pure Javascript?
-
0
votes0
answers56
viewsHelp to convert jquery rating function into Angularjs
I have a website where I have an evaluation system that’s working well with jquery, now I am making the mobile app of this site and has to have the same evaluation system as I am new in Angularjs I…
-
0
votes1
answer440
viewsselect multiple jquery inputs using the name attribute
I have a jquery script that selects a particular Select via the 'name' attribute and makes some changes to the label of another select: var selectRecheioGroup = $('select[name=recheio1]…
jqueryasked 7 years, 7 months ago Murilo Ravani 167 -
0
votes1
answer683
viewsHow to show the time of this counter in the window title bar?
Follow the chronometer file: https://www.dropbox.com/s/nkejbjjsx1vv6g2/timer-stopwatch-jquery-2242015.zip?dl=0 It shows the time in the input, but I wanted it to show also in the title bar of the…
-
0
votes1
answer95
viewsSelect a badge as a Jquery child element
I got a badge that’s attribute son of a button, that way: <button id="equipeum" class="btn btn-primary" type="button"><span id ="pontoum"class="badge"></span></button> In…
-
0
votes3
answers955
viewschange soon when decreasing screen width
I would like that when the site was seen in cell phones the soon appear smaller, I have two logos, logo1(major) and logo2(minor), how do I so that when the site is opened in a device with screen up…
-
0
votes1
answer3861
viewsClear fields from a form
So guys I have a problem here which is as follows: I have 2 forms. The form 2 that is inside the form 1. And I wanted a button to reset only the fields of form 2. Only the input type="reset" that I…
-
0
votes1
answer60
viewsidentify when the page is opened in a popup
It is possible to identify if the page was opened in a pop-up? I want to do this with javascript or jquery. I have the test.html page, and if it opens in a pop-up I need a close link to appear' You…
-
0
votes3
answers419
viewsHide mandatory and non-compulsory field
I have a form. In this form I have two radiobutton with two options. 1) Questao 1 (Obrigatorio) 1 = Sim 2 = Nao ______________________ 2) Questao 2(Obrigatorio) 1 = Vivo 2 = Morto If this question 1…
-
0
votes3
answers388
viewsView images side by side using Javascript/Bootstrap
I would like some images to be displayed side by side, as follows the model below, could indicate me the best way to do? I’ve tried it with Bootstrap, but I can only pop one image at a time.…
-
0
votes1
answer247
viewsjQuery Slidetoggle - Open/closed detection
I would like to remove the "active" class from "liToggle" in case you closed a Slidetoggle. I tried to use is(':hidden') but unsuccessfully. If I put right after the open parole, it closes at the…
-
0
votes1
answer125
viewsHow do I make a change to be printed in the view without refresh?
<script type="text/javascript"> function atualizarTarefas() { var url = "institucional"; jQuery("institucional#entregas").load(url); } …
-
0
votes3
answers119
viewscreate java script functions after rendering all partial views
I have an aspnet MVC code with a main view that can call 3 view partials depending on where the user clicks. one of these partial view was part of the main view and had a jquery sortable ui plug,…
-
0
votes1
answer1044
viewsHow to set default date for DATE and TIME fields
In the modal next containing two fields of the type date, "Of: dd/mm/aaaa and even: dd/mm/aaaa" I want to set the "From" date for the current date, "Until" for a day difference and in the field time…
-
0
votes1
answer366
viewsHow to loop with jquery without duplicates
I wanted to know if you can make a loop inside the other using the function each without duplicating the values Example var cor = ["branco", "preto"]; var exa = ["#FFF" ,"#000"]; $.each(cor,…
-
0
votes1
answer1076
viewsManipulate the Scroll event in Jquery
Good afternoon, I have a Navbar that starts transparently i Seto this via query: $( "nav" ).css('border', 'none', 'important'); $("#hamburguer").css('background-color', 'transparent', 'important');…
-
0
votes1
answer96
viewsSave status and contents of last clicked tab
I have a page with some tabs that load content through the resource. load, I would like that after returning to this page the last clicked tab remains marked and the content called via load…
jqueryasked 8 years, 11 months ago Munir Baarini 673 -
0
votes1
answer55
viewsArray with HTML and Jquery
I have a form, where the fields correspond to the amount registered in the database. I am bringing as follows: <?php .... $contar = $metodos->contarCadastro($chave); $num = 1; for($c = 1; $c…
jqueryasked 8 years, 11 months ago user24136 -
0
votes1
answer182
viewsTransparent Navbar Bootstrap
Good afternoon, How do I make my page start with the transparent navbar and when I give the Scroll down it stay as "inverse"? I’ve tried to give a background-color: transparent !important, but it…
-
0
votes2
answers3901
viewsCurrency Mask with jquery
I need a tag for a value field, I’m using jquery.maskinput works perfect but I have to enter the entire value! what I’m looking for is a mask that fills automatic " R$ var.000,00 " for example, if I…
-
0
votes1
answer118
viewsCheck whether the Column has an Empty or White value
Good morning. I’m trying to check if a Father-Son table column has gone blank. Can someone help me? // VERIFICA SE ALGUM COLUNA FICOU EM BRANCO var elVlr = $('#itensInventario tbody > tr > td…
jqueryasked 7 years, 7 months ago Ricardo Andrade 1 -
0
votes2
answers211
viewsDynamic search for selection
I need to in a text field by clicking the F2 key to open a query window and selecting the employee to take code from it to the text field. Would you have some library in jquery or other solution?…
-
0
votes2
answers64
viewsHow to page via querystring without reloading?
I list the products via a querystring as in the example: "{meusite? pg=1}" I saw that on the site of the American and Walmart they make a pagination similar to mine, but without reloading the rest…
-
0
votes3
answers749
viewsAnimate Load by clicking
How do I animate Load once it loads? Is there any way to optimize this code? For example if I have on page 30 links. <!DOCTYPE html> <html> <head> <script…
jqueryasked 8 years, 11 months ago Ogait Euqireh 109 -
0
votes1
answer119
viewsDynamic change in an element when resizing the window
$(document).ready(function(){ var heightJanela = $(window).height() + "px"; $("#banner-hold").css("height",heightJanela); }); I performed the above code, so that when the document is loaded, the div…