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
votes1
answer876
viewserror: Object {readyState: 4, responseText: "", status: 200, statusText: "OK"}
I have an AJAX request that returns certain data from my database when the user filters some information, sometimes the filters work 100%, but sometimes it returns within the error of the request…
-
0
votes1
answer112
viewsHow to reorganize Ivs (moveup / movedown)
I need to insert text blocks and then have the freedom to reorder them. In the first inserts it works, then the Divs start to get lost and the first jumps to the last for example, when in fact it…
-
0
votes1
answer137
viewsAdd css Transition to div in Flexslider
I have a flexslider in a Project, in it I have the background image and inside a div with description and button for external link. What I need to do is that with each slide change, this div has a…
-
0
votes1
answer868
viewsHow to do an action in jquery wait for another to finish to start?
I am trying to create a menu where the search bar appears only after the li's of the menu vanish, for that, I recommended the function .delay() of jquery, but I am not able to realize these effects,…
-
0
votes0
answers36
viewscustomize scroll in fox and IE fire
Well this scroll works perfectly on Chrome and safari. I wondered how to make the scrollbar equal in IE and Firefox. Follows code. .container { height:200px; overflow: auto; width: 250px;…
-
0
votes1
answer73
viewsJQUERY programming logic
Talk personal! I am not able to reason in a small problem that I am wanting to improve the code. I have several Ivs(Content1,Content2,Content3....), I have a Content check that Content is active on…
-
0
votes1
answer835
viewsPHP Array for Json
I have this query, I need to display each column in an HTML div. Well, I need to return the data in a PHP array, pass this php array to a JS array to be able to manipulate and display them in their…
-
0
votes2
answers188
viewsHow to Stop the Write On-Screen Effect with jQuery
People wanted to know a way to stop writing on the screen when you arrived at the last text within an array, I improved the code of the Simon Shahriveri see now the code rewritten in jQuery: 'use…
jqueryasked 8 years, 2 months ago iLeonardo Carvalho 561 -
0
votes1
answer336
viewsReturn Ajax with multiple result and creating lines
Due to an internal need, I need to make the return of an Ajax query create lines for each displayed result. Today I have a function that I use and that works normally when the result is only one…
-
0
votes1
answer340
viewsSlidedown effect with menus li
I’m trying to create an effect using css and jquery to a menu where the same will have the effect of "slidedown" when clicked on a given link, but even if I put the list inside a div with height: 0…
-
0
votes1
answer1076
viewsHow to search for values in a PHP file with jQuery - AJAX?
Guys I want to search a string in a PHP file called search.php I want to return a string to my index.php but I want to do this when calling the function try_it(), is there any way to do this with…
-
0
votes1
answer817
viewsHow do I change the class of a button according to its id and value?
I intend to modify the class of a button according to its id and its value. Each <button> has equal identifiers, but different values. I tried this way below, however only the first button is…
-
0
votes0
answers102
viewsLimit values displayed in jquery
How do I "limit the amount of values ordered by go below? I tried to create an array with the Divs and change the display property.. but it does not take the order of the elements.. Much of this…
-
0
votes2
answers130
viewsJquery does not pass the POST value of a form
Colleagues I have a form that I am using jquery to pass the values, but the value does not pass to the send.php file. See: <form method="post" name="post" id="contact-form"> <div…
-
0
votes1
answer603
viewsCatch a PHP JSON Via Jquery
I have 3 pages, 1-Index, where I pass some settings; 2- data_game.php, where you query and return a json with the dice; 3- game.php, The page where the json data is displayed are displayed. My…
-
0
votes1
answer327
viewsHow do I "update" a Function?
Well, I have the following code: <head> <style> body,html,div { margin:0; padding:0; width:1050px; height:69px; position:relative; } #anim {…
-
0
votes1
answer2349
viewsHow to rotate a div?
Well, I have a div that contains secondary Ivs within it, what I intend to do is to make an effect, which rotates the interior Ivs, ie from right to left, keeping the position of the main div. In…
-
0
votes1
answer261
viewsBootstrap button
I am having difficulty removing tooltip by jquery on a button. The operation of the button is as follows, if you have a form with required field blank, it makes the button stay disabled, I want the…
-
0
votes2
answers170
viewsDeactivate Combo select
Expensive; I tried several ways to disable the Select combo (mespgto) when the checkbox (radio04) is set to "checked=true", but without success. Could you help me? Obs: The way the function is…
-
0
votes2
answers91
viewsHow to change option from JSON return
How do I change the option below, based on JSON return: <select name="modalidade-frete" id="modalidade-frete"> <option value="0">0 - Por conta do emitente</option> <option…
-
0
votes1
answer247
viewsLeave a read menu with treeview active after page re-load
I have a menu on a Sidebar using <li> and <ul>, when I click on any page is updated, because I use a link <a> in my. i am using the following javasscript to update the active menu…
-
0
votes1
answer592
viewsPossibilities input Mask with jquery lib
I’m using the input-maks to put a mask on the field but I’m having the difficulty of setting a value, for example in my mask I put 'data-mask'=>"00000,00" referente ao campo decimal(5,2); But if…
-
0
votes1
answer1513
viewsHow to identify the child element clicked through the event click on the parent element
I have the following code: <div class="tipo-cadastro"> <div class="box-logista active">Logista</div> <div class="box-distribuidor">Distribuidor</div> </div> and…
-
0
votes1
answer483
viewsUse of . append() or . html() - jQuery
I am unable to insert html into an element. JS function carregaAgendamento() { var url = "http://prestoexpress.com.br/vistoria/json.php"; $.getJSON(url, function(result) { console.log(result);…
-
0
votes1
answer513
viewsToggle page content by changing only the div
I’m creating a website, where I want to use the main page div to switch between other pages. For example, I have index, content 1 and content 2. I want to make sure that when I click on the link,…
-
0
votes1
answer708
viewsHow to upload images after scroll when in view-port?
Look at this page: https://www.nubank.com.br/gerando-boletos/ It has the following structure: <p>titulo do post</p> <img src> <p>titulo do post</p> <img src>…
-
0
votes1
answer31
viewsJquery addClass applies but does not give me the result
Good morning, I’m having a problem, I’m trying to make an effect for my menu, when the user passes 200 in the scroll the menu increases using the height: 85px;, when scroll up it removes the class I…
-
0
votes1
answer75
viewschanging the css of the pseudo classes of elements with jquery is possible?
I’m doing some tests with jquery and, came to me the following question: It is possible to manipulate the pseudo class elements css with the jquery? $('#login_1').click(function(event){…
-
0
votes0
answers152
viewsRedirect Page in AJAX Replay in Asp.net Mvc
I’m having problems redirecting a page, in my Ajax Answer, when I am in Firefox in debug mode, I can redirect, without Debug the page only one refresh, I tried other Directs also failed, only works…
-
0
votes1
answer220
viewserror in sending data via ajax
I’m not able to send the data to mysql via ajax, I don’t know where part of my code could be wrong. My index in which categories are listed from the database via jquery. <div…
-
0
votes1
answer77
viewsI need two clicks to activate Jquey function
Hello, I am learning how to work with AJAX/JSON requests, and I came across a problem (which I think is more to do with Jquery, but I added PHP and AJAX tags, because you never know). come on; when…
-
0
votes1
answer122
viewsJavascript function does not resume $_POST from PHP
I’m implementing a progress bar in a simple file upload script. I have the three files that are giving me a headache, Upload.php where the upload script is located, script.js where is situated the…
-
0
votes0
answers271
viewsAjax giving error 302
I’m calling the same Javascript functions in separate forms on the same page. When I call the function of the first form, the function that executes an ajax is executed normally. When calling the…
-
0
votes1
answer270
viewsTake animation from the button and leave only the ZIP code field visible
I have a difficulty in which I can not solve... I do not understand much of Javascript and so I decided to ask. I am editing this site in HTML: https://artnaweb.com.br/pediragua/ And I want to take…
-
0
votes1
answer133
viewsCondition to call mask!
How can I read the first character typed in the input and the part of the condition be called a specific mask. if(Se o primeiro caractere no input for letra){ }else{ $('#login_username').mask('(99)…
-
0
votes1
answer155
viewsTreat Exception in Jquery Post
I have this function Javascript (Post Ajax) that when the post she’s passing theif (r != "") {. I needed to capture what was an exception and treat her out of the if. JavaScript function…
-
0
votes2
answers300
viewsTypeerror: b is Undefined jquery.min.js:3:6371
I’m trying to create a function that given the type of posting returns the findings that are in the database using jQuery-min-3.1.1.js, PHP and JSON for information exchange. But I get the following…
-
0
votes1
answer214
viewsHow to set toggleClass (jquery) speed?
I would like to define the animation speed of toggleClass but it didn’t work. I solved the problem with CSS: -webkit-transition: all .5s ease; transition: all .5s ease; But still, I’d like to know…
-
0
votes3
answers1895
viewshow to call a php function through ajax?
how can I call my function PHP for ajax when a click occurs on mine span? I’m not able to call the function properly someone could help me? code HTML <span id="link" class="dropdown-toggle…
-
0
votes2
answers567
viewsUndefined index: action when sending ajax data to PHP
i am having problems sending the parameters of my ajax to PHP, is giving me the error Undefined index: acao in my file log.php my ajax takes the username and password of the html form and sends it…
-
0
votes0
answers42
viewsAurelia - Use/Import . js files
Good morning guys, this may be a really stupid question, but I honestly can’t find anything on the Internet. I would like to know how to include my . js files in a project using Urelia, the…
-
0
votes0
answers177
viewsFill div content from a select
Good afternoon, I would like to fill the contents of a panel from a data chosen in select. My code seems correct, follows below what I have so far: HTML <div class="panel panel-primary">…
-
0
votes2
answers294
viewsHow to configure jquery.maskedinput to accept valid dates only?
How do I make for the <input type="text" name="calendar" id="calendar"> accept only correct dates, example of a correct date 01/02/2017 but it is accepting when type 01/20/2017, ie the month…
-
0
votes4
answers1392
viewsReturn True or False in jQuery’s Success
< script type = "text/javascript" > $(document).ready(function() { $('#btnEnviarDados').click(function() { var strFomr = $("form").serialize(); $.ajax({ url: $("form").submit(), type: "POST",…
-
0
votes1
answer550
viewshow to use callback in window.print()
Well I created a printing function in jQuery, when running it hides from the menu div and prints the page. It works perfectly, but in some browser like IE and iPhone safari it doesn’t work. I…
jqueryasked 8 years, 2 months ago Hugo Borges 5,294 -
0
votes2
answers133
viewsResize when clicking on toggle
Does anyone know how I can resize div parent by clicking on a toggle, which in this case opens a div eldest daughter? Within the div #g-intro I have a class that opens the content and exceeds the…
-
0
votes0
answers84
viewsJquery Mask only works after Submit
I am using Jquery to add mask to the Cpf field when the user is doing a search. However the mask is only enabled after making a Submit on the page (by clicking the search button). <html>…
-
0
votes0
answers105
views$. post () - Doubt
I got a problem: I’ve already been able to read and follow the facebook documentation, use their methods and get some hints that they provide. Now that I have achieved this, I need to send for…
-
0
votes1
answer77
viewsSingle ajax with different outputs that doesn’t work without async
Hello. I have a function with an ajax request inside (that’s the real function): function carregaAjax(caminho,tabela,funcao,dados){ dados.push({name:"funcao", value:funcao});…
-
0
votes2
answers581
viewsChanging the contents of a <optgroup> label when selecting an option in another select
I would like to click, for example in the option "10 People"... It changed the label of several other selects, for example, this: "Special Fillings: R$10". I would like, for example, it to become…