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
votes2
answers2085
viewsFix Double Click Buttons with Jquery
I am performing maintenance on a site with multiple forms with buttons of type SUBMIT and also normal buttons that call an onclick event that in FORMS is used to perform the validation of the data…
-
0
votes1
answer1709
viewsPass Ajax URL parameters
I need to pass parameters in the AJAX URL in order to filter the name of the searched product. I mean, I have a type field text and when the person type it already shows the product typed, same as…
-
0
votes1
answer48
viewsUnserialize Codeigniter Data - Ajax?
Through the object obj_form, i display in the form the database data: //Objeto do formulário function obj_form() { $('[name="id"]').val(obj_permissao.id);…
-
0
votes1
answer217
views -
0
votes2
answers243
viewsMark checkbox if value equals 1
Hello! Through the function below: success: function( tbl_permissao ) { obj_permissao = tbl_permissao; var permissoes = phpUnserialize(obj_permissao.permissoes); console.log(permissoes);…
-
0
votes1
answer80
viewsHow to put a successful Alert into a data insertion via ajax?
I am working on a project in progress and what I need to do on it is put an Alert and refresh the page after entering data in the database. The data are being entered through a spreadsheet, that is,…
-
0
votes1
answer1044
viewsHow to trigger Button Onclick event with jquery
I need to hit the button when I click. I did it in jquery in a generic way by passing the parameter of a given button to execute the script to it. <button id="buttonprofissional" type="button"…
-
0
votes1
answer783
viewsMultiple filters on a json object?
Hello. I have 10 filters for a single json object: var filtro1 = function(value, selecionado){ var data = JSON.parse(JSON.stringify(json.aPesquisa)); var result = data.filter(function(pesquisa){ ...…
-
0
votes0
answers26
viewsDoes not enter the ajax block
Good Morning! I have the following code: <?php $titulo = "Site"; ?> <html> <head> <title><?php echo $titulo; ?></title> <link rel="shortcut icon"…
-
0
votes1
answer249
viewsSearch Data-id and Remove from Database
I got this foreach() <?php foreach($fotos_ingresso as $valor){ ?> <div id="fotos-listagem-imagem"> <a href="javascript:;" data-toggle="modal" data-target="#confirma-deletar-imagem"…
-
0
votes1
answer478
viewsJquery add and remove attribute not working
I’m trying to create a way to minimize and maximize a DIV. Minimize works, but maximize does not. What am I doing wrong? $("#chatMinimizar").click(function() { $("#chat").attr("style", "height:…
-
0
votes1
answer62
viewsCreate animation "Fadeout"
The table is created by javascript code when clicked on an item in another table, but it has no animation. The animation I want to put is "Fadeout". When the table item is clicked, it should appear…
-
0
votes1
answer106
viewsDate field with jQuery does not arrow the chosen value
I am using a datepicker jQuery-UI to generate date in an "input text" field, but I cannot make the date selected in the datepicker set in that input and I do not understand what is wrong. What is…
-
0
votes2
answers70
viewsVerficar buttton radio
The code below only gives the first radio input someone knows how to fix it so he recognizes at least one radio input marked $(document).ready(function(){ $(document).on('click','#teste',function(){…
-
0
votes0
answers89
viewsDropzone images are not coming to the server
I have a normal form and inserted the drozpone inside it following some tips by the community. When I give the Ubmit, the Dropzone images do not arrive at the server in any way, the $_FILES is…
-
0
votes1
answer49
viewsGenerate values dynamically in a table
I am listing the number of equipment saved in my system in a table, only that they will not always have saved equipment, I can have an empty table, or incomplete. What I need is to list the lists of…
-
0
votes1
answer70
viewsGenerate table content through click action
I am with a web project that needs to implement functions to generate the content of a table according to the chosen item. For example on my Dashboard I have a tower icon, and below I have a table…
-
0
votes2
answers294
viewsStart function by Onclick
Boa Tarde Amigos. My question is this, I have a script that keeps reading 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…
-
0
votes0
answers195
viewsOpen image in div after loading with jquery
I have that code jquery that makes a filter, when it shows the result, opens in a div id=products, in this div will have thumbnails and I want you to click on the image and appear on a div magnified…
jqueryasked 7 years, 8 months ago Wagner Martins Bodyboard 698 -
0
votes1
answer367
views -
0
votes0
answers360
viewsUse function within ajax Response Success
I have a list of tasks with checkboxes, which when marked updates, via ajax, the status of the task in the database, what I want to do is return the completion percentage of the list, which is…
-
0
votes2
answers97
viewsHow to take content from a div with the same class?
I think the title is quite self-explanatory but come on, I have a return of a json that comes from an sql, which can give me the following situation <div class="conteudo-select" style="display:…
jqueryasked 7 years, 8 months ago gabrielfalieri 1,231 -
0
votes2
answers451
viewsGrab Div’s internal element on the side
I’m trying to make sure that by clicking a button, the contents of div next door is editable. Better visualizing the code: <div id="nome" class="container"> <div class="col-10"> <p…
-
0
votes1
answer51
viewsRandomize Ivivs jQuery
Fala galera! I have the following code. What I’m trying to do is to randomly appear the 6 Ivs. I’ve tried to cross shapes but without result. If anyone can help, thank you. PS: I cannot put the Divs…
-
0
votes4
answers506
viewsAjax, limit time even giving Reload on page
I have the code that does what it has to do, and when it finishes it hides the button and shows the message of success: function getFollow() { $('#btnFollow').click(function(a) { a.preventDefault(),…
-
0
votes0
answers95
viewsjQuery timepicker with various input function
I have a code in jQuery that uses the timepicker in all 35 input. follows below the second: Below my HTML: <table> <tr> <th height="40">Indicador</th>…
-
0
votes1
answer156
viewsHow to know if a Json request did not return result?
I have a code in JavaScript who does a search in a database and fills in a input with the patient’s name found: $("#bCns").keypress(function (e) { if (e.which == 13) { var options = {}; options.url…
-
0
votes2
answers1674
viewsMultiply dynamic input values
I have a table that generates lines by clicking a button. In these lines there are two inputs (amount and price) that need to take the entered values, multiply and the result display in a column of…
-
0
votes1
answer163
viewsAdd tooltip to button that came straight from Php via Ajax
On my PHP server I return some data between them a button $HTML = " <button id=\"btnExcluir\" style=\" width: 55px !important;\" onclick=\"Excluir();\" type=\"button \" data-toggle=\"tooltip\"…
-
0
votes1
answer368
viewsGoogle maps: map does not render via javascript/jQuery call
I need to embed a map in my project. However, from the API’s own tutorial, I couldn’t get it to work, until I found out the problem was Bootstrap, or Laravel - or both, together. That is, although…
-
0
votes1
answer3390
viewsHow to pick a td value from the column name
It would take the value of td of a table by the column name. //index definido por numero $valor=$('.table td').eq(0).text(); alert("resultado com index numérico = "+$valor); //index definido pelo…
-
0
votes1
answer523
viewsJavascript redirecttoaction does not work
After a validation I call the controller (Profile) in the action (Add) to add a new record through javascript. If the insertion goes well I give RedirectToAction for the index of this same…
-
0
votes1
answer640
viewsJquery create object containing form data
Hello I need a help , I’m trying to create an object containing all the data of a question/answer form. in php I create the radios so : <input type="radio" name="'.$row['id'].'"…
-
0
votes1
answer149
viewsJquery Chosen not returning value
How to make the Chosen display value of the search. It is not showing the options within select. HTML <select id="habilidades" name="habilidades[]" multiple class="input col-lg-10 chosen-select…
-
0
votes1
answer482
viewsSum of days on a date
I’m finding it difficult to perform a calculation for a form. I wish I could add days to a date selected by the user. I saw that there are several examples in the forum but with specified days…
-
0
votes1
answer98
viewsHow to recover the functions of a cloned editor?
I’m dynamically adding the summernote down in green. I’m actually cloning the ones above. Of course I’d have a problem with that otherwise it wouldn’t be programming. The functions of the added…
-
0
votes1
answer735
viewsHow to select rows in a table?
I am working on a web system and would like to create an interactive table on a page. Above the table, I have 4 buttons and would like to give functionality to them. I would like to be able to…
-
0
votes1
answer105
viewsEmpty fields Phpmailer
I have a form from which when fired, the fields arrive empty in the email. Does anyone know why this is happening? See below: FORM <form method="post" id="form"> <div class="form-group">…
-
0
votes1
answer36
viewsProblem in hiding div
I made a function in Jquery to hide/display 2 Divs. The first div works normally, but the second one does not :/ The idea is to hide the div, change the button icon and change the text at the same…
-
0
votes1
answer3265
viewsHow to get input checkbox array value with jquery
I’m not able to verify if at least one checkbox was checked before giving Ubmit in the form. I saw that you have some questions similar to mine, but none of the solutions worked out for me I used…
-
0
votes1
answer84
viewsView and maintain submenu with Jquery
I’m doing a submenu and when I pass the mouse an option shows a div with several options, then I made a mouseout in the class of this div to hide her but the point is that she disappears even…
-
0
votes2
answers386
viewsjquery Blur in dynamic inputs
I have a form where I dynamically create the <inputs> With the following structure: <input class="form-control placaCss Tamanho200 text-box single-line valid"…
-
0
votes2
answers865
viewsError when receiving php array in ajax
I have a script as following code: $("#submit").click(function(){ var dataString ={ nome : $("#nome").val(), status : $("#status").val(), id : $("#id").val() }; $.ajax({ type: "POST", url:…
-
0
votes2
answers260
viewsSum between Divs and display result in another div
I don’t understand why I can’t run the following script because I’m a bit of a layman: <div class="prices"> <h3>Option 1 = $<span class="sum"…
-
0
votes2
answers599
viewsjquery n.fn.init(0) in production in n.fn.init test(1)
I have a form that creates the input fields dynamically (ASP.NET MVC C#), when the user type in a field, I want to execute an ajax to fill the other fields. When I created a test.html, with the…
-
0
votes1
answer887
viewsCheck and uncheck all checkboxes
First, there’s this question about Check/Uncheck all checkboxes except disabled checkboxes, however I do not want you to uncheck what is already marked when you click again. I want you to uncheck…
-
0
votes1
answer141
viewsHow to disable a link that is calling a modal bootstrap?
I’m trying to make a <a href> not call a modal of the Bootstrap. <div class="row"> <div class="col-md-6"> <div class="form-group"> <div class="md-checkbox-list…
-
0
votes2
answers152
viewsHow to get the searched item with autocomplete?
I have an autocomplete that works perfectly. How do I pick up the searched item and place it inside a div? Type x-salad search and when you click it put x-salad inside the div. The function…
-
0
votes1
answer521
viewsChange TD background color by clicking Radiobox Checked and changing Color again when Quitting Radiobox
Good afternoon, I would like to know how to change the background color of a TD by clicking on the radio box contained in it and exiting to another radio box of another TD back to the original…
jqueryasked 7 years, 8 months ago Jorgito da Silva Paiva 177 -
0
votes2
answers1483
viewsMandatory field message with jQuery
People I made a validation that when the user does not fill the input my button gets disabled more wanted to display a message to inform the user that the field must be filled is possible to do this…