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
-
2
votes2
answers765
viewsGet script from a DIV with JS
It is possible to take the SCRIPT from an element.. EX: <div id="form"> <div class="box"> <p>Pegar apartir da 'class="box"'</p> </div> </div> take the complete…
-
2
votes0
answers16756
viewsError AJAX Request - Success does not work
Good afternoon, you guys, I have the following AJAX request: $(document).ready(function () { $.ajax({ url: "/membros.aspx/populaGridMembros", type: "POST", dataType: "json", contentType:…
-
2
votes2
answers183
viewsHow to apply the DRY (Don’t Repeat Yourself) strategy to this code?
I have several tables, one on each page of my application and all will have the same function of filtering a column, but the columns have different names and different orders. How to write this code…
-
2
votes1
answer306
viewsCall function for created div only
Good afternoon gentlemen, I’m trying to apply the plugin jQuery File Upload. Really it is a simple and intuitive plugin, the problem is that I need to create, within the same page, several divs…
-
2
votes1
answer650
viewsHow to call a function after the user drops the mouse click?
On a page there is an element that the user can drag with the mouse, would like to call a function after the user drop this element (when dropping the mouse click). How to do this without having the…
-
2
votes1
answer775
viewsHow to make slide effect with jquery and js
Well, using jquery and js, I wanted to make a slide where my php would pull a lot of Ivs, and the limit will be 8 Ivs, for example, if you click the next button, it will move on to other Ivs that do…
-
2
votes1
answer511
viewsLet centralized Bullets and right and left navigation arrows in slider
I am unsuccessfully tempted to let the navigation Bullets centralized and the navigation arrows on the right and left side of the slider, as much as it changes the css settings do not succeed. This…
-
2
votes2
answers495
viewsHow to call partial function after added via append
Hi, I have a partial view, that I surrender with the following code: $.ajax({ url: URL, success: function (data) { $("#DIV").append(data); } }); And within that page, I call a function…
-
2
votes1
answer787
viewspass a JQUERY value to window.open() function
How can I recover a value that comes from a request via JQUERY to a database and put that value into a window.open function(); JQUERY $(document).on("click", ".modal", function () { var key =…
-
2
votes2
answers76
viewsSpecific sorting of a list without plugin
I’m facing a very specific problem in a project. I am creating slide, where I need to sort the list according to what is clicked in the pagination. It should look like this: Following form: Quando…
-
2
votes1
answer184
viewsSend li value to input type Hidden
I need to pass on the values that are in a <li> for a <input type="hidden"> , I have a list and the elements that have been selected will go to a input (each to one input). The problem…
-
2
votes1
answer306
viewsVertical menu with filter inside the sub-menu
I would like to make a filter inside the sub-menu, filtering the menu itself as you type it will display the related. The idea would be similar to this link. At the end of my menu has sub-menu…
-
2
votes1
answer474
viewsSearch does not work on Jquery Modal Screen
We have a search screen that works like this: There is a main screen. On it a button calls the search screen. This screen is loaded into a IFrame that is inside a Modal jquery-ui(Dialog). On this…
-
2
votes1
answer69
viewswhat is faster and lighter to render (ul-li or table)?
I am making a dynamic menu with table (6 columns already defined and the row will vary) and bootstrap. would like to know what is the best structure to build a dynamic menu (the user will choose…
-
2
votes1
answer977
viewsHow to "crop/slice" the image layout with HTML and CSS?
I have doubts about how to build the layout below with HTML/CSS: I haven’t implemented anything yet, because I have no idea how to do. Any suggestions? Thank you!…
-
2
votes1
answer1093
viewsTake a div’s height and apply it to another div
I’m using the excellent Fullcalendar plugin to add a calendar to a page on the site I’m doing. It is very dynamic and the plugin calculates its size as soon as the page is loaded, keeping its size…
-
2
votes1
answer816
viewsDisable Jquery button in Chrome
I want the button to be disabled during the ajax request and the loading icon to appear. I made the following script: $(document).ready(function(){ //Clicar no botão deletar selecionadas…
-
2
votes1
answer742
viewsCSS interfering with element position while dragging
I have a script that allows you to click and drag an element through the screen and take it to the footer of the page, which has an area that attracts the dragged element. At the top of the page is…
-
2
votes1
answer53
viewsAutomatic slider plus controls. Divergence between the two
I am doing an automatic fadein/out slider but I would like to implement controls as well (next/Prev), the problem is that I cannot connect these two features. For example: if you are in slide1 and I…
-
2
votes2
answers1107
viewsDifficulty with AJAX and JSONP
I’m having a problem returning ajax with jsonp, it returns json, but I can’t work with it. Code: $.ajax({ method: "GET", url: "http://minasul.tecnologia.ws/previsao/index.php?tipo=TODAS", async:…
-
2
votes1
answer273
viewsSave REQUESTS AJAX to be executed later
Use jQuery and the Ajax library to make REQUESTS. There is a way to save REQUESTS, follow the example.. The user is there moving and suddenly the connection drops and the user does not notice it.…
-
2
votes2
answers13898
viewsHow to use jQuery Fadein and Fadeout effect in user warnings
have the script Fadein: <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script>…
-
2
votes1
answer185
viewsTaking Jquery to Run
$(window).scroll(function () { if ($(this).scrollTop() > 0) { $('#header ul').animate({ width: 811, marginTop: 0 }, 200); $('#inicio-btn, #sobre-nos-btn, #sistemas-btn, #noticias-btn,…
-
2
votes3
answers3002
viewsDynamic search in real time
In the company I work we will implement a system in which the Back-end will be PHP and the database will be CACHE (Intersystem). The database is on a server other than where the system will be…
-
2
votes2
answers734
viewsTake the url of the first image of each post (div), store this url in a variable
I have a blog, and for each post is automatically created a div. On the home page only the first image of the post and the title (with link) referring to the post should be displayed. Only here, I’d…
-
2
votes1
answer1828
viewsHow to limit the minimum screen size?
I’m working with Bootstrap. What I want is for the user to be able to decrease the screen up to 700px and from the moment he has with 700px the screen does not decrease more. It can be via Jquery,…
-
2
votes1
answer1933
viewsI would like to change an attribute of a dynamic element with jQuery
I have the following code that I thought would work, but nothing happens: $(document).on('click', '#tab-departamentos a', function(){ $('textarea').each(function(){ var a =…
-
2
votes3
answers367
viewsStop Menu scroll in certain resolution
I have a drop down menu along with the scroll. I used Jquery to add css attributes to make this happen. I don’t want this to happen when the site is less than 768px wide. That’s when it stands still…
-
2
votes1
answer1846
viewsHow to host my angular application
I have the following directories in my angular application: node_modules/ src/ --client/ ----/app/ ----/index.html --server/ package.json file print I would like when the user accesses my site he…
-
2
votes4
answers25607
viewsLoad page and scroll automatically to a particular element
On a contact page there is in respective order: a banner, map and form. How can I make sure that when loading the page is automatically scrolled down leaving the beginning of it from the map?…
-
2
votes1
answer66
viewsBlock existing email in jquery.validate
I have a registration form that uses the jquery.validate.js plugin http://jqueryvalidation.org. I searched but couldn’t find a way to return an error when the client inserts an already valid email.…
-
2
votes4
answers2160
viewsWhen filling in the Date field, perform a jQuery action
I have a field data and I need that when I finish filling the date... Perform a function to list a SELECT form. <input id="dp1" class="input-small" onkeyup="mascaraData(this);" name="data"…
-
2
votes1
answer39
viewsDoubts about Immaterial with jQuery
Suppose I have a div with Hidden visibility, how to proceed to when I click on a button this div gets visibility : Visible and seconds later get Hidden again? I couldn’t even use visibility with…
-
2
votes1
answer282
viewsCheck checkbox status - bootstrap switch
I’m using bootstrap-switch in my checkboxes and I would like to check the status of my checkbox loading the page using the library itself.…
-
2
votes3
answers5714
viewsHow to make Jquery datepicker accept only months and year?
How can I convert my jQuery datepicker to accept only months and years ?
-
2
votes2
answers417
viewsAdd hours with the Final Countdown plugin
I’m running a countdown system and I’m using "The Final Countdown jQuery" $('#clock').countdown('2015/02/16', function(event) { $(this).html(event.strftime('%D dias %H:%M:%S')); }); <script…
-
2
votes1
answer860
viewsHow to use jQuery + Ajax with Java EE
I’m creating a connection to the Java database like this: try{ Class.forName("org.postgresql.Driver"); Connection con =…
-
2
votes1
answer164
viewsproblem with jQuery ajax
I am facing a problem when using google Charts, where it is working perfectly in Internet Explorer, but when running the same page in google Chrome or firefox, graphics are not shown my action…
jquery asp.net-mvc asp.net-mvc-4 google-chartsasked 9 years, 2 months ago Pablo Tondolo de Vargas 5,444 -
2
votes2
answers4643
viewsHow to remove characters from a certain point with Jquery?
How do I remove everything you have before the ? in that string smartphones?marca=3 or celular?marca=4 presenting only what is after the question mark "?" with Jquery or Javascript?…
-
2
votes0
answers37
viewsChange option of a select via javascript
I need to develop a function. Has a menu with some links. By clicking on a link I need the options <option> of a <select> alter. The data of this <select> is coming straight from…
-
2
votes3
answers487
viewsProblems between loop and ajax
Ajax for (j=0; j < cidade_nome.length; j++) { $.post('envia.php', {ano:ano, ano2:ano2, cidade: cidade_nome[j].value}, fnRetorno); } Function fnReturn function fnRetorno(retorno) {…
-
2
votes1
answer2775
viewsHow to return the weather forecast via the prediction API dotempo.org?
I’m trying to return a weather forecast query via the http://www.previsaodotempo.org but I’m not succeeding. Where I’m going wrong?…
-
2
votes1
answer334
viewsProcess multiple orders simultaneously and store in BD
I’m dealing with a new problem because of some new challenges... I developed a registration system and obviously in the future may have more than 100 registrations per day or even per hour or…
-
2
votes1
answer110
viewsHow to clear the value of the parameter to enter new values?
&fespecial=lanccontrucao&fespecial=novopronto Here is a parameter that persists when executing the code below: // $("#fe1").click(function(){ // $("#fe2").click(function(){…
jqueryasked 9 years, 9 months ago Marcos Vinicius 7,188 -
2
votes1
answer107
viewsProblem with push button by ajax id
Good I’m here with a problem that and the next I have a lop while that shows me all users and in each one has a button follow I am doing via ajax by clicking on follow change the text not to follow…
-
2
votes1
answer78
viewsHow do I hide the container while uploading an image?
I would like to know how to hide the content and show only a gif of loading on the page. I was able to implement but the images keep appearing, how to solve this? My code is here: Here is the…
jqueryasked 9 years, 1 month ago Leonardo Costa 1,043 -
2
votes1
answer171
viewsLoop in Jquery autocomplete
I’m using this plugin - jquery autocomplete. I have a select option and the plugin dynamically creates a input type="text" and hides the select. Everything works! I would like to know how to make,…
-
2
votes1
answer48
viewsClick on only one element
I have the following structure: $(".produtosMenu li span").click(function() { $(".produtosSubmenu").fadeToggle(); }); .produtosMenu li { box-sizing: border-box; -webkit-transition: background-color…
jqueryasked 9 years, 9 months ago Felipe Viero Goulart 3,693 -
2
votes3
answers527
viewsTake data from the page by javascript and convert it to whole
There is a problem, when picking a number within a span by javascript I try to convert it into int with parseint, but nothing. For if I try to make a sum with another number it ends up concatenated.…
-
2
votes1
answer614
viewsSliding divs for content
Someone could help me how to box with slider content and by clicking on the arrows the Div is Pushed and so showing the other box as in the image below the globe example . I’ve done with java script…