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
answer225
viewsSelect date from the current date using pickadate.js
I am working on a simple project for a hostel, on the website has a small form of stable request. It has two fields to select the input date and another to select the output date. I’m using the…
-
0
votes3
answers49
viewsCapture input value (Only numeric fields) and put in Div
I’m trying to create a function that takes the value of an input field and puts it in div. But I’m not getting it to work. Note: I need to take only the numerical values. Just follow my code: $(…
-
0
votes0
answers352
viewsCreate autocomplete for Select Option with Jquery?
I’m trying to make an autocomplete using select with jquery but I’m not getting it. How to do this ? I’m trying like this function fillSelect(data) { //$('#usuarioSelected').empty(); if…
jqueryasked 7 years, 4 months ago FernandoPaiva 1,562 -
0
votes1
answer544
viewsMake a click fire another click after 1 second
I would like to know how to click on a button to fire another click after 1 second. I found this solution here. But I would like to add this delay of 1 second. Code: $("#button1").click(function(){…
-
0
votes2
answers104
viewsHow to take checkbox values and insert them into the bank
I will list several products and in each will have one checkbox to select which ones he wants. The problem is that I’m not getting to do the $.each() to pick up only the selected products and then…
-
0
votes3
answers1470
viewsHide DIV when loading the tab according to select
Today I use this function to disappear the div, works perfectly, But I need the field already selected /option value="boletos" Selected/Boletos/option/ but the function is only executed when it…
-
0
votes2
answers1321
viewsString Comparison in jQuery
I have a question in string comparison using Javascript / jQuery. I want you to get the town on input id="cidade" is not Goiânia or Aparecida de Goiânia display the alert. But even when the city is…
-
0
votes2
answers138
viewsChange menu with CSS
I am developing an application where I would like when scrolling the page bar until half the page a floating menu appears that is fixed at the top of the page but I do not know how to do. Regular…
-
0
votes1
answer225
viewsReturn of incorrect AJAX Success
I am using Jquery AJAX in my ASP.NET MVC application and I am having a somewhat strange problem. When performing an AJAX request, instead of retouching the content I want to load (a new ".cshtml"…
-
0
votes1
answer56
viewsDoes not capture events after cloning - jquery bootstrap
I am using the code below to clone the accordion. But while trying to expand the accordion that has been cloned the captured event triggers the parent accordion. I know the clone event is limited…
-
0
votes3
answers173
viewsWhy my load does not load after Submit
I have a basic form, and wanted to change the contents of the div after clicking on the send form, when I run without Submit works, poem with Submit does not work <!DOCTYPE html> <html>…
-
0
votes1
answer1026
viewsSubmit a single div Reload post
I have a form that I want to pass via POST, but without giving Reload on the full page, after sending the information, I wish a div of that Reload in its content, I have the following code:…
-
0
votes1
answer613
viewsHow to make a value array with select Multiple
Scenario is as follows, I have a select Multiple with the options of the type of activity of each person registered in the system, however the same person can be a client and an employee, but when…
-
0
votes2
answers3860
viewsHow to make element appear after scroll
I want to make a simple effect, which would be to apply an effect of animate in a div, increasing her height after scrolling the page and, when the page scrolled to the top again, that div back to…
-
0
votes1
answer55
viewsConvert JSON data structure to Object
I’m using the framework Materializecss - autocomplete, and would like to feed a autocomplete field with data coming from my base. The autocomplete works with data in the following object structure:…
-
0
votes1
answer474
viewsAdd multiple products in one sessionStorage
I add the product through a select, but when I try to add another it erases what is in the sessionStorage current. How do I add the two? I have the select in html that brings the product, and when…
-
0
votes2
answers611
viewsRow hover and table column
I would like that by hovering over a cell in the table the column and the respective row of the cell change the background only to the cell. follows an example of how this and how I want it to stay:…
-
0
votes2
answers1411
viewsOpen/Run input file - jQuery
How can I open/Run an input file using jQuery?! I have a php code that has the input file your css display:none;(Invisible), I need that when I click on an element, for example an image the input…
-
0
votes2
answers782
viewsModify a button through an input
I wonder how I can change the name and the property of a button from the choice of an input (radio button). <h3>Criar novo usuário</h3> <p></p> <form class="m-t"…
-
0
votes0
answers208
viewssave div to pdf preserving css
Hello, I am trying to save pdf using jspdf script but it is not working properly, the code is: var pdf; pdf = new jsPDF('landscape');…
-
0
votes1
answer430
viewsCordova: Ajax works in browser but not on Android device
I need to make an ajax request using Cordova in visual studio, and ajax through Jquery. When I test through the browser works correctly, but when I test Android it returns error with stauts "0" and…
javascript jquery android ajax apache-cordovaasked 7 years, 4 months ago Anderson Brunel Modolon 1,111 -
0
votes1
answer43
viewsUnwanted characters using jquery + php
I have a small problem, when I use the jquery append to display elements returned from a php query. Note: this is not the full append, it is a little extensive and I put only the part I need you to…
-
0
votes1
answer31
viewsHelp to create function that locates text in Javascript
I’m trying to create a userscript for me to enter my password instead of clicking on the numeric keyboard that the site requires. The problem is that each button corresponds to 2 random numbers, so…
-
0
votes1
answer3738
viewsDelete row from a table with javascript
I have a table with several elements (partners), and I need to make the delete button work. But every time I set the event the button erases all the elements and not just the line I want. <table…
-
0
votes1
answer181
viewsStore incremented value within a Jquery click function
I have the following function. $('#proximo').click(function() { token = localStorage.getItem("userToken"); page =0; var e = document.getElementById("idSelecionaSize"); var size =…
-
0
votes1
answer66
viewsHow to filter checkbox list as you type? (search neighborhoods)
I have a list of ckeckbox where each one is a neighborhood, so I wanted that when typing the name of the neighborhood, he stares and leaving only the neighborhoods that contain what is typed, just…
-
0
votes1
answer52
viewsChange Bootzard validation code
I’m using the Wizard step of this website, but I ran into a small obstacle. In the code it validates all fields through this stretch: parent_fieldset.find('input[type="text"],…
jqueryasked 7 years, 4 months ago user24136 -
0
votes1
answer143
viewsProblem when paging in jQuery and Angular
I am putting together a pagination and I have the following problem. First my next and previous buttons are not working and shows no error on the console. The second question is that when I select…
-
0
votes1
answer1082
viewsMark checkbox with Jquery
I’m setting up a screen to choose some options. Actually, it’s a lot of checkboxes with style. Here I even took the class that makes the style of the checkbox, to make visible. I can give the effect…
jqueryasked 7 years, 4 months ago Rogério Pancini 397 -
0
votes2
answers238
viewsShow Alert or mobile error message
I have a website, and it has the registration and when the registration already exists it shows an Alert saying this (this Alert I did in js, but it was within php), but when I put the page to be…
-
0
votes1
answer9360
viewsError: [Object Htmlinputelement]
How do I resolve the error: [Object Htmlinputelement] The code should save the text typed in the field, and even giving F5 stay saved, example: same as the script of this site. function digGet(){ //…
-
0
votes1
answer52
viewsForm values are not coming in the PHP file
I am finishing a project of which the form is step by step. I used the template below for this: It is working correctly, but every step I am saving in the database, in case the internet or the user…
jqueryasked 7 years, 4 months ago user24136 -
0
votes0
answers139
viewsUse splice() to remove a value array from an Hidden input
I got the code from a user here who posted (add/remove array to an Hidden input), added a few things and even tried to modify how users who responded suggested, but could not remove the value array…
-
0
votes0
answers171
viewsI can’t use the webservice
I have the following webservice: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl and in that WS i have the following function: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl/userLogin I send a user…
-
0
votes1
answer72
viewsError with jquery UI Autocomplete
Good afternoon, I’m getting an error that particularly I’ve never seen, when trying to use jquery autocomplete, follows the image, and the encoding: PHP: (I used as an example, because I didn’t add…
-
0
votes1
answer307
viewsIs it possible to create a JS file for all pages?
I have several pages, I wonder if it is possible to use the same JS on the same page. For example: I have a HOME page, where I carry the pages "son" inside a div (content), but for each page, I need…
-
0
votes1
answer694
viewsGenerate options from a select (years) according to another selected field
I have a registration form for dependents of a plan, where you can choose son, husband, father-in-law, etc. and then the year of birth He wanted, when selecting what the degree of kinship, he go…
-
0
votes1
answer89
viewsHow to call a zend method using Jquery?
I have this Jquery function that enables an input for the user to edit a form, when editing and clicking 'Enter' I want to save the change made in the database, without submitting the form. -- My…
-
0
votes1
answer166
viewsHow to reload only table after ajax
I am reloading the page after entering a data in the bank via ajax, there is the possibility to update ( rebuild) only the table, or the div in which it is? $(document).ready(function(){…
-
0
votes3
answers293
viewsChange the color of a button by comparing 2 attributes of a list with Jquery
I need to change the color of a button on a product list. However, I receive in a variable another list with the only logged-in user product id. Structure I receive : [ 2, 7, 18, 21] // are the id…
-
0
votes1
answer350
viewsIndentation after Focus in input with jQuery
After the field receives focus on page loading, the label is not displayed, need that when receiving focus on the input, that the page moves a little downward, to display the label. <form…
-
0
votes4
answers1914
viewsShow table on page after clicking a button
I have the following table: <table width="100%" class="table table-bordered table-hover table-responsive table-striped" id="empenho_solicitante"> <thead> <tr> <th…
-
0
votes1
answer63
viewsList results with jquery/php
I’m looking to list results from a PHP page using jquery, which is updated every 3 seconds, but I’m not getting it. The code I’m using is: <div id="listar"></div> <script…
jqueryasked 7 years, 4 months ago user24136 -
0
votes2
answers28
viewsUpdate content only when accessing div
I have a step-by-step form from which every step saved in the database the information. In the last step I bring the information saved as follows with jquery: <script type="text/javascript">…
jqueryasked 7 years, 4 months ago user24136 -
0
votes1
answer224
viewsThe Submit event doesn’t work when I try to register
Guys I’m having a problem in my jquery, the code below shows the moment that I register the Submit event by clicking on the button $("#quero-me-identificar").click(function () {…
-
0
votes0
answers101
viewsHow to maintain uniform slide time regardless of the amount of slides?
I have the code below that works normally. But with an inconvenience: The more images I put on the slide the faster the images change. I would like to make sure that, regardless of the amount of…
-
0
votes2
answers1008
viewsReturning select value with javascript/jquery
I am developing a software and I need to know which option the user selected and return in the console.log, but I have tried several functions and none worked. How do I get that return? function…
-
0
votes1
answer158
viewschange content color according to values in the table
someone can help me thank you I receive values in the format ex: 5/7 is the result of the scoreboard that the user registers and can view on the same screen, if I had only the number I believe that…
-
0
votes0
answers28
viewsReturn full date jQuery PHP
Good evening, the idea is to return the full date to be able to search the database correctly.When I open the page it looks like this: When I click the next day it looks like this: Apparently…
-
0
votes0
answers96
viewsHow to stop and restart a Jquery function that can be triggered by several elements?
Hello, I made a screen with a virtual keyboard, for a touch screen application. The client wants two inputs on the same screen and when the user selects an input, the keyboard must enter the values…