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
votes3
answers1453
views$. getJSON - How to store responseJSON in a Variable?
I am mounting a Javascript object with the following constructor: var jsonResult = ""; // Inciei uma variável fora do escopo da Função function criarDicionario(lang) { this.lang = lang; this.dicio =…
-
0
votes1
answer196
viewsPHP Receive data from a CSV via URL
Good morning, I need to know if it’s possible to do fgetcsv() using the temporary of a file .csv coming from a url. The reason to try this is due to the fact that Chrome does not overwrite saved…
-
0
votes2
answers2120
viewsHow to stop a Javascript function that uses setTimeout
Hello, I have created a countdown function, which is working correctly. The only problem is that I can’t stop it. I made all kinds of adaptation with Return and clearInterval(), she stops for a…
-
0
votes1
answer151
viewsTake the last id generated in the Insert with jquery and redirect to another page
hello, I’m having a hard time getting the id generated in php with jquery, so I can send this id to another page, follow the code: queryInsert.php $assunto = $_POST['assunto']; $msg = $_POST['msg'];…
-
0
votes1
answer455
viewsuse dynamic INPUT for database query
I have this script in html and jquery searching in the database what the user wrote in the input <div class="form-group col-md-8" id="dynamicDiv1" > <label…
-
0
votes0
answers1039
viewsSend upload files with Jquery validation and Modal Bootstrap
Colleagues. I have a site where the form is validated with Jquery through a Bootstrap modal and everything is OK the message is sent. However we have included a field file for uploaded files. The…
jqueryasked 8 years, 2 months ago user24136 -
0
votes1
answer1927
viewsAnimations of input text and Divs when scrolling the page
I have seen that it is getting more and more common this practice, where the elements of the page will "appear" (fade-in, slide-in, and more) automatically when, when giving scroll, you enter a new…
-
0
votes0
answers35
viewsUse Ajax to load options from multiple selects after choosing an option
Ps.: This is not the same question already asked in another topic. This involves Ajax. I find it funny a lot of people marking it as duplicate without even reading the heart of each question or…
-
0
votes0
answers257
viewsMaterializecss and conflicts with jQuery
I’m having a problem here using Materialize CSS and two versions of jQuery. I’m making a onepage site, and I put the Smooth scrolling Effect(I picked up on this site here >…
-
0
votes1
answer201
viewsDatatable library conflicting on Other script
I use this library below to run my tebela functionalities <script src="tables/datatables/assets/custom/js/datatables.init.js?v=v2.1.0"></script> But this script below only works when the…
-
0
votes1
answer1495
viewsUpdate Table with filter using jquery
Good morning I’m looking for solutions to a demand but only found in php. I’m new in Jquery, Ajax... I want to put the filter of my table to be dynamic as the user is typing will appear the data, I…
-
0
votes1
answer44
viewsProblems with $.get and PHP
Gelera, I’m hitting myself a little hard to figure out what’s going on with a code I put together. I have a loop that downloads files .csv from a server specific to my server. There are 9 files.…
-
0
votes2
answers1054
viewsHow to take ID of inputs generated within DIV dynamically'
I would like to know how to get the ID of Hidden inputs that were generated dynamically within DIV via Jquery. I’ve tried it this way but it doesn’t work: $(document).on('click', '.div_desc_prod',…
jqueryasked 8 years, 2 months ago Jorgito da Silva Paiva 177 -
0
votes2
answers137
viewsAdjust word inside the toggle
Colleagues, I don’t know if my title was clear, but here on the site I got a toggle, but I need to put the word Yes and Not within it. The word Yes I managed to put, but it was almost out of the…
-
0
votes1
answer814
viewsBootstrap selectpicker class, does not recognize insertion of <option> via jquery (.html())
I’m using the Bootstrap framework, and the Selectpicker class to receive city data by status. The script works well, returns data, but instead of inserting <option> Cidade X </option> he…
-
0
votes1
answer2915
viewsPick table value with jQuery
I would like to take the value of one column of the table, but in a way that I could reuse the function to take values from other tables. I tried it this way, but it does not present me anything on…
-
0
votes1
answer81
viewsCSS or Jquery - How to leave an entire page with Pointer-Events: None; less such element
I want to leave everything inside the div .divGeral with pointer-events: none; minus the class .divnaomodificavel This is my code, below... HTML: <div class="divGeral"> <div…
-
0
votes0
answers51
viewsCalculate and Recalculate
I made this function to find the filled notes and when I do onload calculates it correctly. When I use the onkeypress="somaNotas" function that is in each input it calculates all wrong. Does anyone…
-
0
votes0
answers250
viewsWhy does Simple Image Gallery lightbox effect not work in SP Pagebuilder?
I’m creating a joomla site and now I’ve stumbled upon a bug that I can’t fix. I use the SP pagebuider page builder and Helix3 template and added the Simple Image Gallery extension to the website in…
-
0
votes1
answer908
viewsHelp to pass an array via Ajax(post) to MVC 5 controller
I have this code that is generated dynamically by javascript. Simulating a grid <tr class="produto"> <td class="info-CodBarras">123</td> <td…
-
0
votes1
answer95
viewsBlock mobile browser popup by pressing screen element
Description: A friend is developing an application in which a web page is accessed and when interacting with the elements is sent to a file PHP controls to manipulate a robot with the Arduino. For…
-
0
votes1
answer857
viewsSend a textarea by pressing enter with JS?
I’m having problems in my application because I have two types of textarea on the same page. One creates the post and the other creates the post comment. The following code sends the post textarea:…
-
0
votes1
answer352
viewsproblem using regular expression to validate e-mail
Hi, I’m using the following regular expression to validate an email field: var filtro =…
-
0
votes2
answers236
viewsproblem with click event reference inside a div
I’m having a reference problem in the click event, I don’t know what is avoiding the functionality of the jquery click function, here’s my code below for analysis: div =…
-
0
votes1
answer167
viewsShow image below div on Hover
Good afternoon, I need to build an effect on a blog where when you hover over the pink div, it shows an image that’s at the bottom of it. But I need to show this image only in the area where the…
-
0
votes1
answer132
viewsInput('type=number'). each(Function()) )}; does not recognize value only returns Nan
The question title function only works by returning an entry of type=range as a number in the browser. Already on Smarthphone only returns Nan, probably the jquery.1.9.1.js or jquery-mobile.1.4.5.js…
-
0
votes1
answer529
viewsJavascript does not receive json Response from Laravel
I’m trying to get Javascript to receive the data sent by the server and play in Alert. But it always comes Undefined. I’ve looked at many topics about it on the internet and found nothing wrong with…
-
0
votes1
answer177
viewsDoubt Scope of Javascript Variables
in the code below I try to use the variables lastLatitude and lastLongitude outside the local scope. I need them in initial. I’ve tried many things, someone can help me understand? <script>…
-
0
votes2
answers71
viewsjQuery Generic Autocomplete Error 404
I’m making a input with Autocomplete function only that when typing it returns in the console with error 404. Follow the code: $(document).ready(function () { $("#ListaNCM").autocomplete({ source:…
-
0
votes1
answer54
viewsFailed to call function with Javascript parameter
I have the following function: function show(msg, el){ if(msg.alertType == 0){ resetForm(el); setTimeout(function(){ $('#show-toast').removeClass('toast-show'); $('#show-toast .td.result…
-
0
votes0
answers67
viewsword limit with jquery
i am using the xoxco jquery.tagsinput plugin to insert a field with tags in my article, however I need a limit of tags inserted there, so I need a word counter to limit how many words are inserted,…
-
0
votes3
answers1880
viewsSend data from an html table to php
Hello I have a table <table> <thead> <th>Codigo</th> <th>Nome</th> </thead> <tr>`insira o código aqui` <td>1</td>…
-
0
votes2
answers252
viewsJquery Table Selector with bootstrap
I have a bootstrap table and in one of the columns I have a hidden record button. Wanted to click on the existing input, that this button appeared. I’m tired of trying to make several ways of…
-
0
votes0
answers229
viewsHow to send a dynamic image to PHP with jQuery ajax function
I have a blank div, which dynamically receives an image, almost as soon as the page loads, this image is the Crop of the original image, I’m able to catch it through the code: $('.class > img')…
-
0
votes1
answer372
viewsTake Image Separately with Jquery
I have a problem that I think for you will be very simple to solve. I’ve set up an image preview and I need to remove each image separately, but I’m not getting it, I’m trying to get the id. The…
-
0
votes2
answers197
viewshow to fix Refusal in Webservice Post
When Sending the Post: $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "/CmisWebRequests.asmx/GetMessageResponse", data: dataToSend, dataType: "json", async: true, error:…
-
0
votes1
answer89
viewsProblem to remove an img tag inside the array by image id
I’m doing an image preview with image removal. In case I need to remove the selected element from within the array using the id of the img tag. I can already take the id to the function that will be…
-
0
votes1
answer38
viewsIf using load
i have the following javascript function: $(document).ready(function () { Eventos(); $('[name="dtd1nrob"]').change(function () { BloquearQuestao(); }); }); function Eventos() {…
-
0
votes1
answer2122
viewsClose content when click off menu
Good afternoon, I’m making a site that has a side site by clicking the button the menu comes to appear on the right side of the screen, and I need it to close when it’s clicked anywhere other than…
-
0
votes1
answer150
viewsColor Sharepoint Calendar "Javascript" "Jquery"
I have this code below for a calendar in Sharepoint 2013 That when user choose silver car in calendar field stay in silver color and when black stay in black color. It only works on the IE browser,…
-
0
votes1
answer61
viewsHow to dynamically generate and access div’s
I’m trying to put together an image preview, but I need each one to be independent, I’m facing a problem that I can’t solve. I need to access id’s dynamically with Jquery, someone can give a light?…
-
0
votes1
answer40
viewshow to open only one field
I’m having the following problem when asking jquery to open the form it ends up opening all at once to send a reply in the comment, but I need it to open only what clickei as I do it. Follow the…
-
0
votes2
answers238
viewsColor transition effect in the navbar of a bootstrap template in Rails
Hello, I am using a template of startbootstrap, the Agency, I was able to import it to the Rails project, I put the theme in the vendor folder, I imported the scss in Aplication.scss and I put the…
-
0
votes0
answers208
viewsProblem - Add Google Maps bookmarks from JSON
I have a problem that is the following: I have to make a call from a JSON that contains latitude and longitude of several locations and then add them to a Google Maps map as markers. I can upload…
-
0
votes1
answer21
viewsNumber of Pixels Rolled on a Hidden Overflow Page
Hello! I’m in need of finding a way to toggle in a class on body when I do a large scrolling on the page (Ex: 1000px). However, the problem is that my page is A full screen with overflow: hidden.…
-
0
votes2
answers1585
viewsLoad Iframe Target into a new Main Window Tab
I have an HTML page that incorporates a code iframe, my problem is that this embedded code has a form, which when filled out needs to be opened in a new tab, but this tab is opened inside the div…
-
0
votes0
answers451
viewsCreating custom map with multiple points, manageable by Wordpress
You know how to generate a json file in wordpress?. I’m trying to create a map where custom points are manageable by Wordpress, I’m using the plugin ACF Advanced Custom Fields, where you create a…
-
0
votes1
answer31
viewsBring data like the facebook wall
I am implementing a feature to bring data like the facebook post wall, apparently it is nothing very difficult, however, I have a question and I would like to know if someone has a solution or…
-
0
votes2
answers280
viewsJquery mask does not work within another Jquery script
I’ve been racking my brain for months and nothing. I believe it to be relatively simple, but I give up on breaking my head. 'Cause I’ve been racking my brain for months, I’m humbled to ask for help,…
-
0
votes1
answer34
viewsRequest jquery giving error
personal I am with the following problem I have a page where you put the comments everything right there loads up to 5 comments so far everything works out what occurs is that in these 5 comments…