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
votes0
answers103
viewsI cannot modify the coding of my charts in Google Chart
I’m trying to change the encoding of my chart that I made using Google Charts with data coming from a json file. I’ve changed the contentType of $.ajax() but nothing happened. The chart is displayed…
-
1
votes1
answer82
viewsCapture $.getJson value is coming Undefined
I’m trying to assemble a table from a JSON that I receive from a page php, meanwhile when I do the append the captured value appears as Undefined. $.getJSON("getEventoCategoria.php", {ID_EVT_Evento:…
-
1
votes2
answers202
viewsChange the position of a word in the text (Javascript)
I would like to change the position of a word inside a text using javascript. <form> <p> Este é o paragrafo, esta é <strong>palavra</strong> a ser movida </p>…
-
1
votes0
answers27
viewsCredit-like scroll effects at the end of a movie
I’m trying to get the scroll to automatically scroll all the data and when it’s finished go back to the beginning and start all over again. I use this script: <script type="text/javascript">…
-
1
votes1
answer59
viewsUpdating the Listing Data
I have a small problem, in the image below I have a list of customers. There is a button that opens a modal for editing, it works normal, but after editing the close modal and need to update the…
-
1
votes1
answer847
viewsJavafx - button-click event, inside a table, does not work
I am in a Javafx project where I needed to make an autocomplete in an input. We have some plugins that can be used, but the autocomplete was so simple that we prefer to do on hand same. Here is the…
-
1
votes3
answers2989
viewsMake field mandatory depending on response
I have a medical form, and the following amendment has been requested: If field 1 is checked = 1, make field 2 mandatory. If not checked do not make it mandatory. Could someone help me?…
-
1
votes1
answer707
viewsPass variable Angularjs through JS function
I have a dynamic modal in Jquery that is called with the onclick="ShowModal()" is working. However, I want to send values coming from Angularjs and cannot. It sends the code Angularjs…
-
1
votes1
answer1191
viewsGet radio button value via jQuery and set in PHP
I have to capture an event of click in a radio button and pass its value in a PHP variable to be able to do a value calculation, I was not very successful, follow my code. function Tipo_Frete() {…
-
1
votes1
answer124
viewsWorking with identical forms on the same page
Hello, I need to insert the same form twice on the same page. Both call the javascript function to fill fields automatically. Example, select combo 1, ai fills combo 2, selects combo 2, and fills…
-
1
votes1
answer262
viewsjquery inputmask does not accept quantifier in "Validator" function
I am trying to make a customAlias to use with jQuery Inputmask, but I am facing the following problem: My input: <input id="input-field-nome" data-inputmask="'alias':'customAlias'" type="text"…
-
1
votes1
answer1412
viewsJquery or CSS - How to create an animation that flashes back to the original?
I have the following Jquery code: $(".add").click(function(e) { $(".saida").addClass("backgroundRed"); }); and the following css: .backgroundRed { color: #FFF; background: #c1272d; } It’s all right,…
-
1
votes2
answers1254
viewsHow to pass the contents of a.txt file to a JS array?
I have this problem, I would like to know what you suggest I research to solve it. I tried using . split, Filereader. It can be in Js, Jquery or Ajax. Any suggestion is welcome. I researched on the…
-
1
votes1
answer431
viewsUsing Jquery Datatable with Cakephp?
I’m trying to use Jquery Datatable server-side with Cakephp but I’m not getting it. I am looking for some example for this but not yet found. When running Datatable Jquery returns an error: Uncaught…
-
1
votes1
answer87
viewsLink to cakephp within jquery?
How to create a link using Cakephp conventions within Jquery ? I’m trying like this but I still can’t make it work. $(document).ready(function() { $('#dataTables-example').DataTable({ "processing":…
-
1
votes2
answers721
viewsObject loop with Jquery each
I am looping an object with Jquery each and am not succeeding. Object generated below via PHP: {"status":"hasP", "flag":null, "qtProcess":null, "code": null, "message":…
-
1
votes1
answer1412
viewsPrint another page with javascript
I have a system that shows the result of a consultation. On this page you have the print button, but I need to make sure that when you click the print button, print another page formatted without…
-
1
votes2
answers634
viewsHow to read a JSON using JAVASCRIPT ONLY?
I want to read and present in a.log console the information that is inside my . JSON, but without using jquery or other frameworks. Basic code.
-
1
votes1
answer1089
viewsHow to import external Jquery?
Good afternoon, my friends I have a problem importing external javascript, (in the case of Jquery library) The files are in the correct folder but when I call by src="" nothing happens. Thanks for…
-
1
votes3
answers1020
viewsScrolltop with the field that is in focus
I’m needing to know the px size of the input field with a focus on the top of the screen. To give a scrollTOP and the focus field stay at the top of the screen. The idea of the problem is as…
-
1
votes1
answer291
viewsHow to pass ID via Javascript to a View
In the application I am developing use Views of the type modal. Use this code to display the modal: <button class="btn btn-default details" data-id="@clientes.Codigo"><i class="glyphicon…
-
1
votes1
answer2600
viewshow to close a popup with javascript
Good guys set up a function to open a popup, and need to put a link inside the popup to be closed. Someone knows how to do this? My code to open the pop-up function popup(URL) { var width = 1024;…
-
1
votes1
answer1031
viewsChange tabs through Modal bootstrap
Thanks to our colleague Dontvotemedown, I can change the tabs through buttons through this solution tabs with jquery. But when I try to change the tabs by Bootstrap modal, I can’t. I have the…
jqueryasked 9 years, 1 month ago user24136 -
1
votes2
answers985
viewsHow to allow a regular expression of letters and numbers to accept cedilla
I need the regular expression to accept the key c cedilla. $('[name="txtEndereco"]').keyup(function () { this.value = this.value.replace(/[^a-zA-Z 0-9]+/g,''); });…
-
1
votes1
answer12835
viewsShow "Wait..." message while the page loads in full - MVC jQuery
I have a view who carries a Datatable.Net, where I need to display a popup with the message "Aguarde...". Popup opens when the page is loaded, but how do I close it? The way I did, Popup doesn’t…
-
1
votes1
answer364
viewsReplace HTML entities within a Div
I have a code html and I need to replace part of it with another html, this code is inside a div. Code: <div id="aba-per" class="et_pb_module et_pb_tabs tab-per et_pb_tabs_0"> <ul…
-
1
votes2
answers235
viewsJquery does not direct to another page
I have a website that has some buttons on it. When you click on the buttons, they are directed to the respective pages, but there is a button from which it does not direct, it just stays on the same…
jqueryasked 9 years, 1 month ago user24136 -
1
votes2
answers985
viewsAdd parameter at end of link with jQuery
Guys, I’m trying to take some specific URL’s on a page, and add a parameter at the end of the link, but I’m not succeeding, because it returns the object instead of the link string + the parameter.…
-
1
votes1
answer114
viewsValidation of URL parameters
I would like opinions on an issue, perhaps even simple, just to know more ways to do it. The situation is as follows: NOTE: I use in this example . Net Framework 4.0 with a lot of Javascript, I only…
-
1
votes1
answer335
viewsRecover localStorage data in your particular input!
I have a code that dynamically registers input data in the localStorage. I am trying to recover the data registered in their respective inputs, but without success. This is the code to recover the…
-
1
votes1
answer256
viewsDrag & Drop with parameter
I am making a dynamic form. Where there is a button that adds the field type (Date, Time, Text, Email, etc). And I wanted to sort these fields with drag and drop. I would need you to return the…
-
1
votes1
answer301
viewsCountdown jquery plugin effects
I implemented the jQuery.Countdown plugin on a page, I would like to give a pagination effect when the numbers change. Same as the one on plugin home page Does anyone have any idea how to do ?…
jqueryasked 7 years, 9 months ago blackbird312 417 -
1
votes1
answer1409
viewsjquery copy and paste button
I would like to 'create' the copy command and paste command with jQuery. I have a form and need to put a paste button on it to make it easy for the user The user clicks to copy the youtube embed URL…
-
1
votes1
answer27
viewsProblem with registering jquery
I have an ASP.NET application with the structure Next: ProjetoWeb (raiz projeto) Compartilhado (pasta) |---Scripts (pasta) |----jquery-1.8.0.js Masters (pasta) |----Site.master Cadastros (pasta)…
-
1
votes1
answer52
viewsHow to change the class of one element by clicking on another using Jquery
I am building a comment system and I would like a reply form to appear when I click on a button. The problem is that there is a response form for each comment, and I would like it only to appear the…
-
1
votes1
answer669
viewsProblem with jQuery scrollTop() on Chrome
Personal talk. I have the following problem, I have a code that identifies when a scroll of the page occurred to be able to move up my side menu when a scroll is performed. Works on IE and Firefox…
-
1
votes1
answer382
viewsJquery autocomplete
How can I make a jQuery autocomplete to pull data from a database? I tried to use this example only I’m not getting it. My system is in ASP.NET MVC and I am using SQL Server as a database.…
-
1
votes0
answers29
viewsAdd 2 or more email in txt using as separator to ','
Good afternoon, How can I add 2 or more emails in the same field using a ',' tab by the jQuery Blur event? The code is already mounting, but I need to modify so that it accepts the new record…
jqueryasked 7 years, 8 months ago Igor Carreiro 1,917 -
1
votes1
answer193
viewsFade effect run in jQuery
Well, I’ll try to explain in the best way, what I intend to do: I have a div with the border id, which actually div serves as edge. I intend to make an effect in jQuery, run color change, top to…
-
1
votes1
answer291
viewsmount select in javascript with php variable
I’m building a script that dynamically receives a variable php array, this variable I give json_encode, and now how do I mount my select with this information? script below: <?php $opts =…
-
1
votes1
answer194
viewsJquery run a shortcut
I need to perform this screen minimize shortcut: Alt+shift+n Is there any way to perform this after a click on the button? $("#btnVoltar").click(function(){ var ALT = 18; var space = 32; var n = 78;…
jqueryasked 7 years, 8 months ago Rodrigo Luan 385 -
1
votes1
answer227
viewsError with Jquery and html alert
I’m making an alert with jquery.... its function is to show the user the error and depending on the action lead to a following page... well already tested and the error is in jquery because when I…
-
1
votes2
answers229
viewsGrab size from a textarea that has been added dynamically
I create a modal box that has a textarea, when clicking the send button I need to know how many characters there are in the textarea. Trying to use Jquery to find this size has not returned anything…
-
1
votes1
answer80
viewsHow to use a single jQuery function without importing the entire library?
I’m making a extension for Firefox and in it I care about Jquery todinha. In the project I only use the function getJSON();. I looked it up online and didn’t find much. I searched the github…
-
1
votes2
answers321
viewsSend and receive array via jQuery
I am unable to send and read an array via jQuery, could help me? My sending is like this: var tipoAtividade = $('#arrayTipoAtividade:checked').serialize(); The variable type Activity is receiving…
-
1
votes1
answer329
viewsHow to leave a <div> with the same operation as a radio button?
I’m developing a system of employee metrics, performance evaluation, I have <div>'which have been set in table form on my form to qualify each option as Rare, Sometimes, frequent, at all times…
-
1
votes0
answers142
viewsBubble cloud - jquery component/plugin
Car@s, I need a jquery plugin/add-on to make a Bubble cloud like this. Suggestions? Thanks.…
-
1
votes2
answers1042
viewsBreaking line array jQuery
I am collecting the values selected by the user and playing in an array. After that, I created a loop to play these values in a string to print on the screen. The problem is that they’re all coming…
-
1
votes0
answers86
viewshave to request only when there is a change in the database? instead of checking every second
<script type="text/javascript"> function atualizarTarefas() { …
-
1
votes2
answers573
viewsChange image according to screen resolution
I’m studying something in jQuery in case. It is possible to change an image according to the screen resolution? For example: in the browser itself, with it without minimizing is the big image. If…