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
answers60
viewsHow to run javascript showing div depending on the select option in Joomla?
I have a javascript code that reveals the contents of a variant div the selection made in a drop/down menu. This code works perfectly in HTML, however when trying to implement on a Joomla 3.0 site,…
-
1
votes2
answers783
viewsCheck return $.getJSON
I need to know if you returned anything from the database. Any suggestions? var url = "agenda_salao_pesquisa.php?dataReserva="+busca; $.getJSON(url, function(result) { //preciso saber se veio algo…
-
1
votes0
answers79
viewsCSS fails to open in mobile
So I have the following page: http://funerariasaopedro.net.br/novo/ Computers run well at any resolution. This, of course, using plugins that reduce browser resolutions. Tested in Firefox, Chrome…
-
1
votes2
answers460
viewsHide Div Jquery
How can I do to if there is value occur a None display on all Divs with car? <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script> <script>…
-
1
votes2
answers1364
viewstake all keys in a json array with js
I have an array of json, which currently takes the values this way: for(element in data){ data[element]['productor'] } And my question is this, could I play in html, all my keys and values without…
-
1
votes0
answers91
viewsFetch PHP data from Ajax
I have an Ajax script here that his function is as follows.. I have a news system, which by clicking on the title will open a modal and show me the news data (title, text, author).. but I don’t know…
-
1
votes1
answer115
viewsProblem loading a.gif file while updating the php page?
I have a problem in my code to load a gif when updating a page gif until it appears more does not come out is running straight. Can someone help me? Here is my javascript: <script>…
-
1
votes1
answer292
viewsError Reportviewer 14.0.0.0 Window.$Rsjquery
When you click the button to expand groups in reportview, it keeps clicking forever and gives error in the line below: // error Uncaught TypeError: window.$RSjQuery is not a function if ($) {…
-
1
votes4
answers116
viewsHelp with Jquery appear div
Good afternoon ,I need help regarding jquery , below an example : <ul> <li><a href="#1">Conteudo1</a></li> <li><a href="#2">Conteudo2</a></li>…
jqueryasked 8 years, 6 months ago Lenilson Teixeira 75 -
1
votes0
answers72
viewsOverlay links above the Fixed mask
I have to make an effect where the user enters and click on the link to turn on the light and when to leave turn off the light. The only problem for now is that the mask stays on the screen normally…
-
1
votes1
answer31
viewsSum 02 fields of the fields coming from BD Mysql
How do I, the user enter the values in 02 fields the result of this sum automatically appear in the Final Value field[]? These fields are coming from the database. while($peListar =…
-
1
votes1
answer641
viewsHide and show div after a certain time
I am creating the screen of a system that will show some graphics and will be displayed on a TV. There are two class one . screen-01 and another call . screen-02 this with display:None. I would like…
-
1
votes1
answer40
viewsFormatting input
Hi, I’m having a big problem with javascript. I need an input field that is formatted as follows: Accept only number and points; Accept only one point; After the point only accept 8 decimal places;…
-
1
votes2
answers2243
viewsGoogle Maps does not load correctly
My site is having problems displaying on a map (Google Maps) when accessed by the main url: http://www.localizaip.com/ but displays the same map correctly when accessed by this other URL:…
-
1
votes1
answer114
viewsProblems padding CSS MENU
I have a small aesthetic problem in 1 dropdown menu. The problem is this, I increase the padding in CSS (bottom and top) and the change only occurs in the last "li" menu. I have tried several times…
-
1
votes3
answers13294
viewsPerform a function after full page loading
I have a page that loads several tables, then organizes them in tabs. You would be able to perform a function when all page loading is finished ?
-
1
votes2
answers595
viewsKnow which div contains a specific class in jquery/javascript
I need to know the amount of Ivs that contain a specific class, I thought I’d search all the css I have on Ivs, so I’ll eliminate until I find the Ivs with "has-error", only I can’t find out who…
-
1
votes1
answer518
viewsjquery dynamic validate
<div class="pages alert alert-success"> <div class="questoes"> <label><input type="radio" name="rd1"> 1</label> <label><input type="radio" name="rd1">…
-
1
votes1
answer1326
viewsHow to invoke function at the first click of the button and another at the second click
How do I call the first function within the first click of the button, by event ondblclick(); and the second function at the second click of the same button. I imagine invoking the function of the…
-
1
votes1
answer166
viewsCheck if an ID exists on a data-list
I’m doing an ajax crud where user chooses a result coming from a data-list to be added to a table(html). data-list <div class="list_details"> <ul> <li id="valor"><img…
-
1
votes1
answer28
viewsBuild templates in PHP or JAVASCRIPT?
The question seems obvious, but I would like to understand it in more technical terms. In my application I need to place objects in an HTML template for user viewing. I have two options and I would…
-
1
votes3
answers1291
viewsFill select javascript / jquery field
Hello, I need to fill a select field with the return of this function, in this example, the RES variable returns: <option value="">setor 1</option> exactly that, I need it to become one…
-
1
votes0
answers56
viewsSend synchronous request with ajax
I am using Ajax to send data via POST, the "problem" is that I do not want it to be sent asynchronously in the background, I would like to send with the same behavior of a form Ubmit, I added the…
-
1
votes2
answers304
viewsselect field when opening javascript / jquery page
Hi, I had already received a great help when I needed a select field to be filled automatically, in this post here: Fill select javascript / jquery field is working perfectly mind, but now I need…
-
1
votes1
answer78
viewsHow to create more organized codes?
I’ve been developing with jquery for some time now and I can already create anything I propose to do with the language. But one thing has been bothering me for some time, is the organization of code…
jqueryasked 8 years, 6 months ago Adriano Luz 1,023 -
1
votes1
answer14
viewsAdd fields on page as selected option in a select options menu
I am creating a form and I want that as the option selected in the menu a different html code is shown on the screen. I’m using jquery to add the new fields. But each option selected the new fields…
jqueryasked 6 years, 6 months ago Diego Soares 403 -
1
votes3
answers82
viewsJavascript - Function problem that adds textbox
On my PHP and Javascript page, I created a space that contains two Textbox and a clickable label to add more Textbox, if necessary, to div numPart: <div id="numPart"> <div…
-
1
votes1
answer107
viewsGet all selected data with javascript in multiple select field
I’ll describe what I’m trying to do: There are sectors, and in each sector there are several employees, and I need that when selecting a sector in a field select, the next field select (that will…
-
1
votes1
answer51
viewsArrow to move to the right of the page does not stop at the end
Good afternoon, I’m in need of a help because I built a horizontal page that besides the scroll of the mouse it also uses the arrows on the side for the drive, but the more you press the arrows, the…
-
1
votes1
answer431
viewsHow to view PHP errors using Ajax and JSON?
You know those error messages that PHP returns when we write some wrong code or, for example, we call some variable that doesn’t exist, or we even try to include a non-existent file. When we make an…
-
1
votes2
answers454
viewsHow to select the checked input?
I have this code: <input type="radio" name="rankeamento_por" id="rankeamento_por2" value="PROC_MEM_KB" checked> MEMORIA <input type="radio" name="rankeamento_por" id="rankeamento_por"…
-
1
votes1
answer30
viewsError in ajax when sending the form
I have that code. The problem is that it always shows the error message Some problem occurred, Please Try Again. What can I do to fix it? I’m using new Formdata(this) because I have file type fields…
jqueryasked 6 years, 6 months ago Wagner Martins Bodyboard 698 -
1
votes1
answer451
viewsHow can I be doing various modals on one page, just pulling another PHP page inside the modal?
I have a code that opens a modal with another PHP page inside the modal, but I could only do this with a page. I would like to do the same thing using this code for the other buttons, only opening…
-
1
votes3
answers48
viewsSpans block not that fit the size!
I have the following code: $(document).ready(function(){ function animaTextos(){ var interval; var contador = 1; var funcao = function() { var corrente = $('div.slider ul.slide li').length;…
-
1
votes1
answer649
viewsChange table with jquery javascript
I have a dynamically created order table, the user selects the item, the quantity, and whether it is for loan or not, and adds the item in the table. I needed that when adding again an item that is…
-
1
votes0
answers410
viewsforce autoplay on audio player
with the new Chrome update function autoplay audio does not work, would like to know how to force autoplay, already tried so: document.getElementById("controles").setAttribute('autoplay', true);…
-
1
votes1
answer104
viewshref with target Blank on jQuery
I have an image inside a div.facebook who receives the clike mouse and redirects to an external page: $("div.facebook img").click(function() { $(location).attr('href','http://www.facebook.com'); });…
-
1
votes1
answer319
viewsPreview PDF file on website developed with PHP, Jquery and CSS3
I saw on the Dropbox website that my PDF extension files are displayed a preview of the first page of the file, I searched for solutions on the internet for it but saw that there are only ways to…
-
1
votes1
answer156
viewsError sending Ajax data to PHP script
I’m trying to take an email by an input, stream to the server through Ajax, and on the server side there’s a script that uses the Phpmailer class, to send an email, and the PHP code without…
-
1
votes0
answers609
viewsHelp - Uncaught Error: Syntax error, unrecognized Expression: #[Object Htmlformelement]
Problem in validating a form with ajax, follow the error.. $.ajax({ type: "POST", url: "adicionaConcorrente", cache: false, data: $("#" + varForm).serialize(), beforeSend: function() { // Faz alguma…
-
1
votes1
answer75
viewsBug with slide jquery effect
I am developing a button that when passing the mouse has a slideDown effect. I made an example of jsfiddle: https://jsfiddle.net/xmwrrom4/ When the mouse is passed once the expected effect is…
-
1
votes2
answers962
viewsChange the site color in one click!
Good people! I have a button with 5 buttons, when clicking these buttons, the color of the site will change, I was doing this process to change the color in Javascript, but I do not find it very…
-
1
votes0
answers40
viewsScrolling of custom page
How can I build a scrolling effect similar to this site? http://www.ever.ag/ And how to make the effect of "appearance" (fade in, movement) of objects?…
-
1
votes2
answers5961
viewsHow to modify the default Datatables + Bootstrap layout
Hello, I used a tutorial I found on Youtube to use Datatables in my project. I managed to make everything work but the look didn’t get very cool as you can see below. So looking I found a section on…
-
1
votes1
answer30
viewsPlugin for Carousel comJQuery
I need to put a Carousel(Slider) on a homepage, and I thought to do this with Jquery, someone can tell me some plugin to do this, without it being the bootstrap Carousel?
-
1
votes0
answers77
viewsDisplay when user is typing in chat
I have a chat developed in PHP and Jquery and want to show when a user is typing. Someone knows how to develop? The idea is when one user is typing, the other receives a message similar to the one…
-
1
votes0
answers207
viewsjQuery did not update the "live" input values
Hello, I am creating a RGB color selection tool with a slider input[type=range], but when I start mousewheel it doesn’t seem to update instantly: https://jsfiddle.net/AndreyAires/m3474ss1/1/…
-
1
votes0
answers133
viewsHow to return the value within a function?
What’s the right way to make one return in a Function response, I have the following code: $('random-button').click(function(){ console.log(moveFile()); }); function moveFile(fileID, newFolderID,…
-
1
votes1
answer525
viewsButton making Submit for action instead of opening only Modal
I am riding a Modal to add a category and a list of products in a modal. When I click the button to add a new product my category Create action is called when I should just open the modal. I do not…
-
1
votes2
answers630
viewsRegex or Replace in Jquery
How to make a string change by adding new content? Example: <div><span id="number">1195555666<span><div> <script>var newNumber =…