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
votes2
answers10476
viewsPick up value or button name with Jquery
Does anyone know how I could catch the value of a button using Jquery? What I want to do is use this value in a textarea, so it doesn’t necessarily have to be the value, the name would also serve. I…
-
1
votes2
answers235
viewsFault/Doubt event change jquery
Hello, I’m having a little problem with a checkbox. When the checkbox becomes true, two fields must be visible (by default these fields are invisible), otherwise the fields are invisible. The…
-
1
votes1
answer95
viewsI want to click on a link when I click show a div and when I click on another link show another div and disappear the previous one
It’s simple, but I can’t do it. When I click on the link1 show the div1, and if I click on the Link2 show the div2. And if I click on the link1 again with the div1 showing it should disappear, I…
-
1
votes1
answer64
viewsHow to change html according to return value?
I made the activation all right from jQuery datatable server side. All functional. However, in the first column I return 1 to active and 0 to inactive. I wanted if it was 1 (active), appears in…
-
1
votes1
answer58
viewsList is being filled in but the properties are null
Hello, I am using the following method in C# : public ActionResult Gravar(int pCodigo, string pDestino, int pRespDestino, int pOs, int pProjeto, string pEstabelecimento, string pObs, int pPim,…
-
1
votes1
answer84
viewsScript does not work on IE but works on other browsers
Script does not work in IE but works normally in other browsers, error occurs in: jQuery(central).prop("disabled", false); and the message I get is: SCRIPT5009: 'central' is not set. I’ve tried to…
-
1
votes0
answers237
viewsJson in unquoted format
Hello, I am consuming data from a webservice where I Gero a json by PHP json_encode. require_once('../lib/nusoap.php'); $client = new nusoap_client('http://dominio.com.br/webservice/ws?wsdl', true);…
-
1
votes1
answer73
viewseach of jquery does not find "TR" dynamically added to table
Hello, I have a table where the first TR of it is fixed containing some inputs to search Assunto | Data | Categoria input1 | input2 | input3 item1 | item 1 | item 1 Where this item 1 is added…
-
1
votes0
answers215
viewsAccent error when exporting xlxs database data with javascript
I am maintaining a code that reads data from a MYSQL database and via PHP transforms it into a table and with Jquery I export it with Excel document. However the accent gets all wrong for example:…
-
1
votes3
answers333
viewsHelp to filter a JSON with jQuery?
I have this code that filters a JSON object: var filtrar = function (horamin, horamax) { var data = JSON.parse(JSON.stringify(json.aPesquisa)); let result = data.filter(item => { let voos =…
-
1
votes2
answers529
viewsPrintar content in list format with jquery ajax
I have a jquery ajax code that returns data from a request, but it returns me a line and then erases and throws the next one on top of the Anteriror, I want it to print me on screen 1 result under…
-
1
votes2
answers642
viewsGet TD value by clicking on table
I have a table HTML horizontal, where I want to get the value of TD(time) when clicking on the line. Follow an image to try to illustrate better. By clicking on the line of 07:00 hours for example,…
-
1
votes2
answers257
viewsConcatenate variables in Jquery to send php only from the selected record
I have a loop where I show the user the result of a query, each query has 3 variáveis that I need to send to php, what I’m trying to do is send php the variables that correspond to the button…
-
1
votes1
answer61
viewsDoubt with Jquery and select
I am maintaining a code of another programmer and I am facing difficulties in two select. I need to take the time of each field and add up this interval, so far I’ve done some tests using the lib…
-
1
votes1
answer204
viewsAfter php query open result on a new page
How can I, if you have how, open a new page after returning a query on php, what I have today is this here: $(function () { $("#frmConsulta").validate({ submitHandler: function (form) { var data =…
-
1
votes0
answers190
viewsCreate category and subcategory persistence with jquery
Today I have a persistence problem in the select field of categories and subcategories I made with jquery with the help of a video, since I’m not very good with jquery. I have the following jquery…
-
1
votes1
answer236
viewsStore values temporarily in text fields (inputs)
I’m with a web application that I made a simple filter to store values of a patchpanel and I made a dynamic input that by telling the amount of ports that that patch has, automatically generate new…
-
1
votes2
answers79
viewsGet row item except for one column
Hello! I would like a help regarding the click on a table. When I clicked on the row came the data of this row, except when clicked on a specific column (column 3 for example), because I want to do…
-
1
votes0
answers110
viewsEdit fields individually in modal window
I have a list of customers that is displayed using a foreach, where it is possible to open a modal window individually. However, when editing a given field for such a client, this information is…
-
1
votes0
answers73
viewsC# pagemethod autocomplete Materialize error
I cannot execute my c# function through the materialize framework autocomplete. It does not execute and returns no errors. With bootstrap it works. I’m using Asp.net without codebehind, all in the…
-
1
votes0
answers54
viewsPage redirection with inconsistent JS and PHP
I am trying to redirect to a page using window.location.replace(). However, sometimes the page does not redirect. At first I thought the error was loading a google source, but even removing, the…
-
1
votes1
answer247
viewsHow to perform form search using ajax?
I am implementing a web application and already have the full CRUD and search implementation. However, I want to use ajax to make the system more efficient and implement the database search using…
-
1
votes1
answer122
views -
1
votes2
answers362
viewsDisplay name in input using autocomplete
The autocomplete is working correctly, I get the following json: [{"label":"Jorge Valdivia","value":"16"},{"label":"Vinicius Aquino","value":"15"}] The problem is that when I select an option, the…
-
1
votes1
answer46
viewsProblems changing action with Avascript
I am having the following problem, I am trying to change the action of the form using the following function, what happens is that if the condition is false for any of them the same still tries to…
-
1
votes2
answers1554
viewsDate mask with time
How do I Mask a text input with the format xx/xx/xxxx xx:xx:xx using angular? It would be the day, month, year, hour, minute and seconds. <div class="form-group filtro"> <label class=""…
-
1
votes1
answer7151
viewsChange input text type=file with filename
I am doing a project in Asp.net MVC 5, and I need the text of my input type 'file' to change to the name of the file when loading it. I hid the input to be triggered by clicking on label in CSS as…
-
1
votes0
answers89
viewsRegistration of recurrence from calendar
I am trying to make a record of recurrence of dates for an event, I have this calendar: https://procurandooquefazer.com.br/data_calendario/ I wanted it to be possible to click on each date,…
-
1
votes2
answers60
viewsAccess the data returned in the success of an ajax request, within a $('form'). on('Submit'...)
I have a $('form'). on('Submit', Function()); and inside it I would like to make a call from a function that runs an ajax and returns an array of data. however when saving the return of the function…
-
1
votes1
answer78
viewsLoad external source
Can load an external source with jquery $('div').on('click', function(){ $('textarea').css({'font-family': 'fonte', "src":…
-
1
votes0
answers318
viewsHow do I Modify a json File Using Javascript:
I have an ajenda already removed the data from it with jquery now I want to create a way to insert data into that agenda Obs:html file is hosted along with the.json agenda agenda json.: [ {…
-
1
votes1
answer50
viewsSelect saved shows inputs through ID
I have a SELECT that opens certain INPUTS. FUNCTION TAKING THE SELECT ID AND OPENING INPUTS. //Mostra div dos inputs do ipi $('#selectProduto').change(function() { if ($('#selectProduto').val() ==…
-
1
votes1
answer848
viewsProcessing status in Ajax calls (jquery)
I have an application that communicates with the server using ajax calls with jquery. However, in some cases, the time for the return of the call ends up being too long. I would like to know if…
-
1
votes1
answer336
viewsNumber count according to jQuery page scroll!
I have a PROGRESS BAR that displays numbers from 0% up to 100%, I need that when the scroll is greater than 900px, start the counting of the numbers for example from 0% to 70% in the time of 2…
-
1
votes0
answers178
views100% dynamic website SEO?
I’ve never developed a website before, I’ve always worked with systems, so I’m having problems with what should be the easiest part of development, the HTML pages. I am in the middle phase of…
-
1
votes2
answers1092
viewsJquery load div auto scroll
How to make high scoll when loading the page? I’m trying to do this, but without success! File: messages.php $('.chatUsuariosLista').click(function() { idUsuario = this.id;…
-
1
votes1
answer423
viewsHow to start a function with onclick?
I have a script that reads one . log basically in real time and shows it on screen, but the point is that it starts with the DOM, I would like it to start only from the click on the button, could…
-
1
votes1
answer34
viewsRequest not working in firefox
I’m making an Ajax request, where it works on Chrome perfectly but firefox does not work. He tells me that Event is not defined function pegarValor() { dado = event.srcElement.innerText; var XMLHttp…
-
1
votes2
answers4211
viewsPassing parameter through URL
how do you pass a parameter to another VIEW screen, without the user seeing it in the URL? For example : I have a query screen that the user clicks on the table and is redirected to another screen,…
-
1
votes1
answer466
viewsPressing the Backspace key, delete the previous input fields
The code below causes the user to type in a given input field, it jumps to the other field automatically: <form class="form-inline"> <div align="center"> <div class="form-group">…
-
1
votes1
answer914
viewsCopy lines from one table to another with jQuery
I have the following tables: <html> <table class="table table-hover" id="tb1"> <thead> <tr> <th class="a-center" width="60">Codigo</th> <th…
-
1
votes1
answer698
viewsjQuery input Mask plugin with strange problem
I have been using this plugin for a long time: Robinherbots/Inputmask And this week I made a change in the way I use it, I started calling it that way: Caller for the input: var mainValidator =…
-
1
votes0
answers127
viewsI have an MVC system I need to make a request in ajax to display content on demand, I am unable to do by data_url
(function($){ $.fn.loaddata = function(options) {// Settings var settings = $.extend({ loading_gif_url : "https://zippy.gfycat.com/ImpoliteLivelyGenet.gif", //url to loading gif end_record_text :…
-
1
votes1
answer1487
viewsGraph of minutes per hours with Chart js
I don’t know if I can be clear, but I would like to make a graph showing the CPU usage line per minute with Chart JS, but with the Y axis rounding per hour. I was able to make the rounding using…
-
1
votes1
answer1034
viewsI would like to place two actions for the same form
<form method="post" id="formulario_contato" onsubmit="validaForm(); return false; " class="form" action="?go=enviar"> <table id="login_table"> <div id="all"> <div…
-
1
votes2
answers129
viewsImage loading inside for loop
var image = new Image(); image.src = 'images/logos/jpg_group.jpg'; // image.src = VARimg_categoria[y]; image.onload = function() { var canvas = document.createElement('canvas'); canvas.height = 250;…
-
1
votes3
answers4336
viewsGet value from all checkboxes marked
How do I take all checkbox values that are checked and move to GET. $("#subcategoria").click(function(){ var checados = []; $.each($("input[name='subcategoria[]']:checked"), function(){…
-
1
votes0
answers27
viewsCentralize
I implemented the isotope. Everything is working just missing feed the content. The problem is I can’t center the elements. I’ve seen you move to mansory It’s supposed to be centered, but it doesn’t…
jqueryasked 7 years, 3 months ago Rogério Pancini 397 -
1
votes1
answer922
viewsAJAX request in Bootstrap
Hello I am needing to open an external page through an AJAX request on my ROW in Bootstrap, but I am not succeeding, I am following the tutorial of the link below, but it is not opening my page in…
-
1
votes3
answers2363
viewsEnable 'Access-Control-Allow-Origin' in jQuery [xml]
I don’t have access to .htaccess server and need to enable Cors on jQuery The code to access Webservice is: $(document).ready(function(){ jQuery.support.cors = true; $.ajax({ url:…