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
votes0
answers262
viewsTab system in jquery
I’m putting together a flap system, it’s working perfectly, but when I open it on a cell phone it gets all messed up. I wanted to leave it the same as the Android, when you have many tabs it creates…
-
0
votes1
answer52
viewsLimit the Textbox value by taking into account the sum of its values
I have the following table in which are included 3 textbox’s corresponding to percentages, what pregnant is that when the user inserts the values in the first 2 Textbox’s , the 3rd value appears…
-
0
votes1
answer752
viewsSub-menu effect with jquery
I’m trying to build a menu system with sub-menu in jquery, but when I click on a menu, all sub-menus open, as I solve this? $(document).ready(function() { // Fecha Sidenav…
-
0
votes1
answer963
viewsChange Title to display tooltip
I’m validating the email using tooltip to display the message. If at first the guy puts registered email the search is made and displayed the message that the "Registered Email", if he changes the…
-
0
votes0
answers115
viewsHow to perform sub-discharge with auto-fill
Code that performed the consultation: $parametro = (isset($_GET['parametro'])) ? $_GET['parametro'] : ''; if($acao == 'consulta'): $sql = "SELECT codigo,preco FROM produtos "; $sql .= "WHERE…
-
0
votes0
answers56
viewsEnable the invalid Foundation 6 input via JS/jQuery
I’m developing a logins registration form. The login must be unique. Every time a login is typed in the field the onblur event makes a connection in ajax where it is checked if in the database there…
-
0
votes1
answer52
viewsItems do not exchange classes, attributes or styles
I’m doing some tests in javascript, so that, at the clicar in a given botão, one item summed, in another botão another item sum up, and so on, but none of the botões works *They all follow the…
-
0
votes2
answers743
viewsDisable paging and display all records when starting to search in datatable
I’m using serverside in the datatable Jquery. PHP plus Jquery. The data is pulled from the database. I specified that 9 records appear on each page (of the pagination). But I need that when I start…
-
0
votes1
answer39
viewsHow to take the images that are returning and turn into a gallery?
I’m using a mixture of Wordpress plugin with PHP code to manage to perform a task that is to join all the images of a particular post in a gallery. I would like, in this code below, to know how I…
-
0
votes1
answer4167
viewsCall function by Onclick passing parameters
I am trying to call a function by clicking on a link, where a parameter is passed that will be used in an Ajax request. This request will return results that will be added to a div. The link code…
jqueryasked 8 years, 3 months ago adventistapr 5,498 -
0
votes1
answer62
viewsIs it necessary to enable Cross-Origin Requests for ASP.NET Web API?
I made a test application, where I point to a web api that’s online, the address of this api works and return the data if it’s posted to the browser URL, it does a GET. In the test application I…
-
0
votes1
answer838
viewsUncaught Referenceerror: $ is not defined in shopping cart
Why the error occurs Uncaught ReferenceError: $ is not defined in the code below? $(function funcao(){ $(document).on('keydown', '#busca', function(){ console.log('I\'m working'); }); }); HTML…
-
0
votes1
answer1414
viewsProblem to apply a jQuery mask to a modal
I have an HTML modal and in it there are two text fields that should receive dates, I am trying to apply a jQuery mask to these fields, but I was not successful, the mask usually applies when the…
-
0
votes1
answer69
viewsHow to position the Section below the menu
I’m using Ancora menu, and when I click on the link it gets the top of the menu, how do I place it below the menu? How does it look: How it should look: code: Script <script> var menu =…
-
0
votes2
answers297
viewsHow to list array values (Angularjs) using PHP?
I would like to know how to do the listing ("foreach") of my array $scope.items within PHP, so I can work individually with each entered value. Javascript: var app = angular.module('app', []);…
-
0
votes0
answers28
viewsresizable and draggable do not work on items added later
I’m using draggable and resizable of jQuery UI to box the user can change the dimension and move. It is working properly if I put the <div> right in the code: <form action="" method="post"…
-
0
votes0
answers110
viewsSpinner jQuery-UI no Up and Down buttons appear, conflict with bootstrap
I’m using the following component: http://jqueryui.com/spinner/#time As shown in the example, but in a modal bootstrap.. The problem is that my Spinner does not appear the Up and Down buttons,…
jquery twitter-bootstrap bootstrap jquery-ui spinnersasked 8 years, 3 months ago Fernando Muniz Erthal 43 -
0
votes0
answers244
viewsHow to display/hide, individually, replicated div in Angularjs, using jQuery?
[SIMULATION using Jsfiddle at the end of the problem description] The following function performs the insertion of some elements using Angularjs: $scope.addItem = function (user){…
-
0
votes1
answer144
viewsUpload files and inputs of any type submitted with ajax
Guys I need help for the first time I’m not managing to put something into practice. I need to get a form that contains <textarea> and inputs like text,number and crucially the file type are…
-
0
votes1
answer186
viewsProblem with Datatables ID
I’m doing a project and I have a question/problem... I have a Datatables with the following content: "aoColumns": [ {"sTitle": "<input type='checkbox' class='pull-left'…
-
0
votes0
answers32
viewsHow to put the value of a field acquired with jquery in php?
I want to do a try check as parameter the date of a datepicker and the id of an item. <script> $('.menu-item').click(function() { var item = $(this).attr('value'); alert(item); });…
-
0
votes2
answers199
viewsError request with jquery-autocomplete?
I have the following file gulpfile.js build, to generate the files css and js. He’s generating me two files: $('#instituicao').autocomplete({ source: function (request, response) {…
-
0
votes1
answer1204
viewsSoft anchor inside a DIV
I have a Onepage page, with the fixed menu at the top. I have already managed to make the links in the menu, when clicked, roll smoothly through the page. My difficulty is to do the same thing…
-
0
votes0
answers141
viewsHow to create an alarm clock with Mozilla Notifications
Hello, I am developing an agenda in JSP, the agenda is already fully ready, missing only warn an alarm clock that I am wanting to do, the same should work as follows.. From x time before the events…
-
0
votes1
answer102
viewsOnchange function in Javascript, only works with TAB in Bootstrap
Good night. I have a bootstrap form with modal that when entering the values, the calculation is only performed after giving a TAB to change field. But doing the test here, Joins with TAB and…
-
0
votes1
answer38
viewsIntegrate ES2015 Classes with jQuery
After much reading I finally managed to do the Babel work and thus transcompile the scripts. Before using das, let’s call ES2015 classes, after reading about best practices I had something like…
-
0
votes0
answers93
viewsError while consuming Web Service axml with apache Cordova Visual studio
Guys I have a project with apache Cordova running in visual studio, when I try to make a web connection service returns me the error below Referenceerror: $ is not defined at Childscope.Teste [as…
-
0
votes0
answers260
viewsConsuming XML data via Ajax
I need to consume the data of an XML via AJAX but Firefox always returns an error of "incorrect formatting" and does not print anything on the screen. The same AJAX runs smoothly in Chrome, but…
-
0
votes1
answer312
viewsjQuery function does not work inside if
I have the following code: function formataPorcentuaisMensais(){ var cancelamento = $("#cancelamentoMes").text().replace('%',''); var aproveitamento = $("#aproveitamentoMes").text().replace('%','');…
-
0
votes3
answers106
viewsLimit dynamic fields in jquery
I have this function to generate fields dynamically, as I can by a generated field limit. $(function () { var scntDiv = $('#dynamicDiv'); $(document).on('click', '#addInput', function () {…
-
0
votes1
answer304
viewsHow do you disable cross origin restrictions to run on localhost?
<!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Teste - LOTECE</title> </head> <body> <div…
-
0
votes4
answers1609
viewsMysqli_fetch_row() expects Parameter 1 to be mysqli_result
No, I understand why I’m making that mistake, since I just want to do a simple update, and I have the necessary parameter in fetch ERROR : Warning: mysqli_fetch_row() expects Parameter 1 to be…
-
0
votes2
answers47
viewsProblem with sending email with php
I’m having a problem with my email sending code it works normally but my email arrives without formatting and showing the tags of html follows my code HTML <form id="form-elements"…
-
0
votes1
answer436
viewsProgressbar does not update according to Xmlhttprequest request - Jquery/Asp.net
I’m building an app to upload videos and photos, and I’d like to put a ProgressBar to show progress for the user, I found some questions to answer (Like this question), but I’m having a little…
-
0
votes1
answer164
viewsExecution of jQuery Script
I have a Progress bar script, I would like the animation of the progress bar fill to be started as soon as the user scrolls the page up to the elements that will be animated. I tried to use…
-
0
votes1
answer267
viewsquery mysql autocomplete problem
I am developing an app and, in one of the steps, I am using a mysql database to store code and product information. When the user enters the product code in an input field, he is searching…
-
0
votes1
answer112
viewsRefresh by clicking on the tab (Foundation)
I need to refresh the content by clicking on aba. This refresh will have to be done in the Content 2 tab. Can anyone help me. <div class="row"> <div class="medium-12 columns"> <ul…
-
0
votes1
answer174
viewsHow to consume a Multipart form-data method with void method
How to consume a method Multipart/form-date of a web service made in java, by ajax or jquery? Below I leave as this the method: JAVA: @POST @Path("/aprovarCompra") @Consumes("multipart/form-data")…
-
0
votes2
answers836
viewsClick button more using list (li)
Guys, I need some help. I have a list in the following structure. <ul> <li>TESTE</li> <li>TESTE</li> <li>TESTE</li> <li>TESTE</li>…
-
0
votes1
answer457
viewsPass variables in Jquery . css()
I’m having trouble with the following code: //Desktop = D var posicaoMenuD = $('#desktop-menu').position().top(); $(document).scroll(function(){//Alscutador de scroll da página var posicaoScrollD =…
-
0
votes1
answer105
viewsError in HTML Slider
Hello! I have an HTML slider and I’m deploying PHP to make it manageable, however, when PHP came in, the slider stopped working. I believe it’s a mistake in the next part of the code: echo '<div…
-
0
votes1
answer299
viewsWordpress Function Enqueue - I can’t add Jquery to the theme
I am trying to add jquery in the theme, all css and js I put in Function are added in the code normally, but jquery that is in the directory of my theme is not being added. The file exists in the…
-
0
votes2
answers756
viewsMake PHP read server folders
Colleagues. I now took a project here at work, where in the beginning this project was developed. It works as follows: It was created in the index.php page some folders with jpg, where it directs to…
-
0
votes0
answers24
viewsError 500 when trying to Upload Video with Xmlhttprequest Asp.net/C#
I have an application that uploads video using XMLHttpRequest when I uploaded a small video (386Kb) the video goes up normal, but when I try a larger video (20Mb) it does not reach the function C#…
-
0
votes1
answer1542
viewsJquery Validate - Mark at least 1 checkbox true
I use toogle bootstrap from this example: http://www.bootstraptoggle.com/ I have 4 checkbox, one of them must have true. How to do this with jquery validate ? Follows code: <label…
-
0
votes1
answer53
viewsError making ajax call
Hello, I’m trying to make the following call ajax: function salvarAposta() { var nomeApostador = $('#nomeApostador').val(); var jogosSelecionados = $('#tabelaFinalizacao tbody tr'); var valorAposta…
-
0
votes1
answer98
viewsAdd or reduce a value in . top by clicking on the link to ID
I have a jQuery function that makes a smooth scroll on the page by clicking on the ID link. $(function() { $('a[href*="#"]:not([href="#"])').click(function() { if…
-
0
votes1
answer79
viewsTable and table bordered in JQUERY function
I have a website with an admin that feeds this site, when the person registers an information by copying a text with table coming from Word, the visualization of this news with the table is coming…
jqueryasked 8 years, 3 months ago Leandro Azevedo 303 -
0
votes0
answers214
views -
0
votes2
answers1635
viewsSearch all columns of a table
I’m using the function below to do a "live" search on a table. The problem is that I want it to bring data to all columns, and it’s currently only bringing the first. function pesquisaTabela() { //…