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
-
-1
votes1
answer47
viewsFunction on resize does not enable events
I have a little problem with my script that I can’t fix. I have a function that disables Hover and I also want you to enable Hover. Already managed to disable but now I can’t enable. Here is the…
-
-1
votes2
answers3659
viewsHow to send data from a form without the Submit button and without updating the page
Hello, I am a relatively new programmer in php and I am developing a website. It is a site where there is a list of companies. And I wanted to implement in it, search filters, the first of them…
-
-1
votes2
answers508
viewsCase Insensitive - Jquery Search System
Good morning! I have this code that searches inside a list <ul> <li>: $(function(){ $('input[type="text"]').keyup(function(){ var searchText = $(this).val(); $('.filter-task >…
-
-1
votes1
answer40
viewsList a date period by the day of the week?
I need to do a function in Javascript/jQuery that I take the value of two fields of date format and it returns me a sequence of dates as I choose: 1st or 2nd Tuesday of the selected period in the…
-
-1
votes2
answers36
viewsI am tempted to send a formlario without the ultimalization of the Ubmit input
I was wondering if it’s possible to submit a <form> as a standard text: <form method="POST" action="#"> NOME </form> When you click on the text NAME it must submit the form.…
-
-1
votes1
answer58
viewsCall Function while holding down
Good afternoon, I’m trying to do a function to perform an action while keeping an item from a list pressed pro x minutes, but I’m not finding a solution to this. Does anyone have any idea how I can…
-
-1
votes1
answer68
viewsCounting effect
I’m looking for how to accomplish an effect I’ve seen lately on several websites. They consist of counting a certain number, ex: "There are more than 500 projects" to reach the 500 and made a count…
-
-1
votes1
answer126
viewstake data from the url using Avascript/jquery
I have a URL with the data encoded using encodeURIComponent. Then I decode it using decodeURIComponent and it looks like this: http://localhost:8081/edit.html [{ "name": "Darth Vader", "ladoForca":…
-
-1
votes1
answer1016
viewsHow do I get the machine name via javascript?
Hello, I would like to get the name of the user’s machine that is accessing my application.. How can I do this by javascript? <script type="text/javascript"> function nomepc(){ var net = new…
-
-1
votes1
answer571
viewsIdentify the empty input field
Good afternoon, as I do to leave the text (Reason), input and phrase below red when clicking the transmit button check if the field is empty and/or when typing something changes color to green. As I…
-
-1
votes2
answers310
viewsIs it possible to check if an element does not have the style attribute with jquery?
I have an infinite scroll table, need to check if the last <tr> of hers is WITHOUT the attribute style=display:none. It is possible to verify ?…
-
-1
votes1
answer496
viewsDocument.ready using routes in Angularjs
I’m trying to run the . Parallax() function of the Materialize framework using routes in Angularjs. I set up Document.ready for each template because I thought that every call of the template per…
-
-1
votes1
answer280
viewsjavascript and jquery
A. Change the implementation of the click event applied to list items, to allow you to toggle the "scratched" items, i.e., if an item does not is checked, the style to mark is applied. If already…
-
-1
votes1
answer28
viewsCSS class application after click on LABEL and also on CHECKBOX
I have an apparently simple doubt, but since I am a designer (and not DEV) I am breaking my head to solve and I can’t find the solution... I tried to find something similar here, but I couldn’t find…
-
-1
votes1
answer186
viewsInclude hour with minute in a javascript hour array
I have a method that generates an array of number time and string time, one to show in the table and one to send in the json. The point is I’d like to include 01:00 / 01:30 - 02:00 so on. function…
-
-1
votes1
answer106
viewsWith setting the deadline on the dynamic datepicker?
I have to set a maximum date for the calendar in a dynamic way that is the month MUST be from the CURRENT and at most ONE year after the month CURRENT. $(document).ready(function() {…
-
-1
votes2
answers104
viewsReplace multiple word Ivs
Supposing I did have: <div class='datas'> <span>01-01-2019</span> <span>01-02-2019</span> </div> <div class='datas'> <span>01-03-2019</span>…
-
-1
votes1
answer25
viewsLocation jquery in new tab
How do I do the Location below open in a new guide? $(".mySlides").click(function(){ let url = $(this).data('value'); $(location).attr('href', url); });…
jqueryasked 5 years, 6 months ago Carlos Rocha 1 -
-1
votes2
answers117
viewsConsume json file locally with jquery or javascript
I have a json called product.json that is at the root of my project, I want to consume it and put it in a showcase at home, but I tried several ways and could not, follows example:…
-
-1
votes1
answer99
viewsSetar tab bootstrap when clicking the link (Django)
Good afternoon! I need help with bootstrap Nav tab. I have three tabs (pending; tempo; finalizado), where each of them has a grid with a button that opens a form on the same page using the same…
-
-1
votes1
answer35
viewsIf as function
How to define an "IF" run according to text of a "var"? Ex: var Ativar = { ativo: 'sim' }; I intend to use the "yes" for "IF" to validate and execute. Does anyone know how to? Pardon my explanation.…
-
-1
votes1
answer112
viewsSlow searching for data with ajax and php
I have a website, where I have a blog session, but when the system is searching the articles, it takes a while to display The structure I’m using: PHP page > Ajax Call (jquery uses ajax to…
-
-1
votes1
answer13
viewsIncrement a "Property path" in an ajax
I need to increment a property path in a ajax, I need to add numbers in front of the property in a for and receive its value, follow example: data.data[0].genero1 I need to get the genero2 now, I…
-
-1
votes1
answer243
viewsHow to make the scroll start at the bottom of the page?
Hi, I have to make a site that starts from the bottom up but I can’t get the scroll to start at the bottom of the page. That’s the script I’m using: $(function scroll() { // scroll all the way down…
-
-1
votes1
answer35
viewsI can’t access controller
Good afternoon, I am having a great difficulty to access an api, via jquery the same always returns error 400 and sometimes 415 follows example: -- Jquery-- -- api controller -- ---Class-- Thank…
-
-1
votes1
answer560
viewsView data via ajax/jquery from the database
I need to display the data related to users who are in a table in the database, but this data does not receive an input (input in the login form), are not filled. I just want to select the values,…
-
-1
votes2
answers331
viewsJavascript, pick a number (zip code) within a city band
I have a list of Zip Code of cities that an agreement meets (sells). for example: Campinas Range of Campinas Cep 13000001 to 13139999, Araras from 13600001 to 13609999. I needed to create an Else IF…
-
-1
votes1
answer49
viewsDependent selects with JSON
How popular a second select according to first from a JSON file. HTML: <select id="município_id" name="municipio"> <select id="estabelecimento_id" name="estabelecimento"> JSON:…
-
-1
votes2
answers235
viewsHeader and Footer on all pages (static site)
I want to leave just one page for the header and the footer, since they are the same. However the same code I used some time ago is not working and I did not find a reason for this. Obs: I tried…
-
-1
votes1
answer934
viewsPass select value to javascript
when the user chooses a certain option in select, another select will appear, ie if marital status is married the spouse will appear. I need the value of select to pass to a variable, this variable…
-
-1
votes1
answer27
viewsFill input by clicking button and multiply values
Hello, good afternoon, I have a question in the following, I want to create a system that by clicking on a button, generates the value in an input, this I have already done, but I need that, when…
-
-1
votes1
answer53
viewsPick up value of a $.get()
I have a small jQuery function that checks which is the last registered ID in a database table. However, I need to store the values in a variable and I realize that I can’t get the value generated…
-
-1
votes1
answer23
viewsremove() with jquery id with ()
In the HTML I received there are many Divs like this (or almost like this): id-name-(24498765); When running this in jquery: $('#'+'nome-do-id-(24498765)').remove(); I get the following error:…
jqueryasked 3 years, 11 months ago caiocafardo 1,897 -
-1
votes0
answers17
viewsPDF does not capture all html
I’d like a hint, I don’t know if anyone’s been there. I have a JS code, which generates pdf, but... when you download the pdf, it doesn’t take all the html, generates all the pages but only prints…
-
-1
votes0
answers10
viewsHow to send data to Oracle with jQuey
Hello! On an Apex page, a pdf is generated by clicking a button, this is done by Jquery. I would like that when that same button was pressed, a data was saved in a table field in the BD (Oracle).…
-
-1
votes2
answers79
viewsShow items in jQuery, using internal loop
I got the following jQuery: $(".quantidade_lotes").change(function() { var quantidade_linhas = $("#quantidade_linhas").val(); var quantidade_lotes = $(".quantidade_lotes").val(); var…
jqueryasked 8 years, 5 months ago Sr. André Baill 6,946 -
-1
votes1
answer566
viewsDate validation with Jquery
How to do date validation from Editorfor using jquery? wanted to check if the date typed by the user, and if the date he typed is greater than the current date, display a message to him stating the…
-
-1
votes1
answer36
viewsHelp me with the jQuery
PHP code with HTML: <h2 ><?php the_title() ; ?></h2> <ul class="galeria" > <?php the_title() ?> <li class="pizzadisponivel"><label value="29,99"><?php…
-
-1
votes2
answers255
viewsReplace Undefined javascript value
Inside my Dashboard, the user makes a filter that goes to the database and returns a Javascript object through an asynchronous request and the array extension may vary, and may have one length from…
-
-1
votes1
answer1276
viewsTurbineing the bootstrap Carousel
To add own events on Carousel of bootstrap, use the function $('#myCarousel').on('slide.bs.carousel', function () { }) I wonder, how can I make the text receive or lose opacidade according to the…
-
-1
votes1
answer1120
viewsHow to transform a div and input text?
I wonder how I could turn my dynamic form’s Divs into input text value when it is clicked on Submit . My form <div class="container"> <h1 class="restaurant-title">Peixaria</h1>…
-
-1
votes1
answer636
viewsProblem to get the text attribute of a Select2
I’m not getting the text attribute selected in select2, I can only get the id. <div class="col-sm-3"> <input type="text" ui-select2="comboPasta()" ng-model="item.nomePasta"…
-
-1
votes1
answer358
viewsjquery function $.post or $.get
Instead of using ajax for feedback, I’m seeing the jQuery function $.post or $.get. But I can only return with an echo one column of the mysql table. ex. echo $conteudo['id']; With ajax playing the…
jqueryasked 8 years, 1 month ago Rodrigo Luan 385 -
-1
votes1
answer1600
viewsWhat is the way to create dynamic table in HTML and JS?
Hello, I’m having trouble putting together a screen with HTML, CSS, JS, Angularjs. I need to assemble a screen where the user chooses the amount of plots, course; and according to this must assemble…
-
-1
votes1
answer95
viewsUpdate amount of like/deslike with Jquery
I am trying to update the value of a span element (increase or decrease) whenever the like button is clicked. Important: The following code creates another element only with the id #unlikeBtn…
jqueryasked 8 years, 1 month ago Beto Silva 44 -
-1
votes1
answer1524
viewsPassing data to another page
I need your help, I have two forms, Form 1 Form 2 in the Formulario 1 i have a date field, when filling out this date field I want it to copy to the Formulario 2 without me having to type, it is…
-
-1
votes1
answer549
viewsRequest ajax does not return what I want
I have a registration page with a form, the person type the year and click on the button to find the registration. With the typed year I have to make the request for PHP to execute the query, return…
-
-1
votes1
answer290
viewsCan you make an event after a Javascript print?
I would like to do a post-print action, IE, only when the user confirms the impression that javascript will run a scheduled event. If I put an event under the window.print() javascript runs even…
-
-1
votes1
answer156
viewsJavascript add-on help
I have that code: Jsfiddle. It works like this: Has a tab with three menus: Option 01, Option 02, Option 03. And in the contents of these tabs there are some < li >. Option 01 has a < p…
-
-1
votes1
answer91
viewsSort DIV’s by content thereof
I am making a kind of list in Foundation 5. In this list there is a head and the content, I need that when clicking on the field name in the head, the DIV is ordered according to the content in the…