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
answer192
viewsArray mask
I have a form that I add or remove lines as I increment data, through the buttons. This form has 2 fields with mask, but it turns out that the mask only works in the first line and not in the…
-
0
votes1
answer267
viewsLock an element inside the textarea
I need to block a part of a text that is inside ckeditor so that the user does not delete and does not change that part of the text, but it can complement the text only can not change that part…
-
0
votes0
answers108
viewsUsing themes in fullcalendar
I was seeing some themes for my fullcalendar liked the Bootstrap 4 Litera, I wonder how I apply in my calendar, I know it is through the "themeSystem", but I do not know how I declare the…
-
0
votes1
answer217
viewsSum and Subtract values with checkbox and select
Could someone give me a hand? I need to do a checkbox sum and subtraction and select with values and show the result as the fields are selected, someone could give me a path to follow?
-
0
votes0
answers31
viewsRe-export content when user scrolls down screen
I was needing to load content on demand with jquery, but I solved the problem with this post. But now what I need is to do the opposite... when loading the new content, the content that was being…
-
0
votes1
answer47
viewsadd select field dynamically (Laravel project)
I am creating a form of a repository and I have several fields like this modality. What I don’t know how to do is create a function so that when a person clicks on the + button next to the select,…
-
0
votes2
answers281
viewsOnclick with Javascript denial
Today I have an onclick in id #menu, every time I click on #menu he makes certain action, I need to create an action that everything is not #menu, do certain action. How do I do this? There is a:…
-
0
votes1
answer499
viewsHow to disable page caching
I have a page that saves the user’s photo, when editing the photo the cache always keeps taking the old photo to display. I’ve tried using : and tried to use some variations of it and it doesn’t…
-
0
votes1
answer78
viewsModal display when submitting form. No loading page
I have the code below. I would like to display a modal once I submit the form and if all fields are filled in. If any field has not been filled in it is already showing a Popover in the field…
-
0
votes1
answer54
viewsProblem with jQuery.ajax php
Good, I have a problem that I have no idea what Ija. I have tried to do everything but nothing. Here’s the thing I’m doing a php chat but it’s giving Alert an error(): ERROR! jQuery(function(){…
-
0
votes0
answers63
viewsHow to simulate a click event without the user actually clicking on the element
I would like to simulate onClick in some element, but without the user clicking on the element, for example, the user presses Enter and the event triggered is the same as clicking on a particular…
-
0
votes1
answer182
viewsImage dimension rendered by html2canvas
I have a script that creates an image of a div using html2canvas and would like to know if there is any way to change the whidth and the height of that image. <div id="MinhaDiv">Conteúdo a ser…
-
0
votes0
answers12
viewsChange number of columns in carouFredSel slider
Good afternoon, I’m having a hard time on the following site: https://totall.agenciaklik.com.br We have to make the customer logo slider stick to two columns on mobile and 4 columns desktop. We are…
-
0
votes1
answer71
viewsPost system - Tips
Hello, I’m looking to create a blog system for my site and I have an initial idea of how to do it, very basic. In basic, I would have one that will send the text of a <textarea> to the…
-
0
votes0
answers33
viewsCall Share Bar after the image is loaded with 'lazyload'
I am using the plugin (jQuery.Lazy();) to load my images. LINK: http://jquery.eisbehr.de/lazy/ She owns this callback: // called after an element was successfully handled afterLoad:…
-
0
votes1
answer448
viewsDatatables server-side Processing with Sweet Alert 2
I am using Datatables with server-side Processing and using Sweetalert2 to confirm before deleting the record. Everything is working except the Sweet Alert that is not displayed when clicking the…
-
0
votes3
answers734
viewsShow image after loading via ajax
Hello, I’m setting up a site with no refresh. When the user clicks on the tab clients are loaded slides of the same, however as the embedded images have a 2mb and end up loading by part. I wonder if…
-
0
votes0
answers465
viewsCheck if object arrived by post API
I am making use of the post office API. I was able to track objects perfectly. But there is still an action to complete the ratreamento: check if the object arrived. My wish was for the API to…
-
0
votes1
answer67
viewsHow to display two Textbox from a result in the Dropdownlist
I display a Dropdownlist with two SC and PR values, if it selects SC then I want it to display two Textbox, one with the RG, and one with the Date of Birth, and if the person selects PR, I want to…
-
0
votes1
answer37
viewsJquery code shows different result depending on browser
I’m using a <input type="datetime-local"> but unfortunately it doesn’t work on Mozilla. So I thought to implement something to mask this problem, but for this I need to run a specific code for…
-
0
votes1
answer133
viewsChanging CSS with Jquery
In my select I have the list with the options, when selecting an option the content alternates as it is tied to the selects. When I put data-Native-menu="false" select does not allow you to change…
-
0
votes1
answer62
viewsAdd option to select
Good afternoon! HTML <label class="labelPequeno">Cidade</label> <select class="typeTextMedio" name="cidade" id="cidade" required> <option value="" selected>Selecione a…
-
0
votes1
answer51
viewsClick on dynamically generated element does not work
Hi, I am cloning an element via jQuery and when I click on an item of the cloned element click does not work, follow example codes: Cloning: var template = $(".products…
-
0
votes1
answer59
viewsHow to take values from an array without array.push
Guys, I’m trying to get a user’s location and it keeps updating from time to time, searching, I found this method, however, I can not only do this with the current value of the array, it…
-
0
votes1
answer41
viewsJquery version giving problems
I’m in trouble because my site is done with Jquery 1.4.1.min and when I call a script like this: <select class="styledselect_pages" onchange="mudalinhas(this.value) "> Script with this version…
jqueryasked 8 years, 4 months ago Tiago Coelho 739 -
0
votes2
answers42
viewsInput value of a form
I’m developing a form with javascript/jquery in which from one question to another goes to another page and on the last page I have to see all the data typed in the previous questions, already tried…
-
0
votes2
answers94
viewsVariable value is not changed inside ajax
I am trying to assign a value to a variable inside the sucess of an ajax, however, when checking the value of this variable, this value is with the variable creation value, follows: var emailPessoa…
-
0
votes0
answers51
viewsProblem with Ajax script
I have an Ajax search script without reloading the page, I select the taxonomy’s to filter the content, and I click "Search", in which the search form disappears, a load bar appears. The load bar…
-
0
votes1
answer19
viewsAjax error in the console when sending the form
Is returning this error in the console when I send a form with Ajax An invalid form control with name='' is not focusable. empresas_cadastrar.php:1 An invalid form control with name='bairro1' is not…
jqueryasked 6 years, 4 months ago Wagner Martins Bodyboard 698 -
0
votes2
answers134
viewsremoveClass does not work
I need to validate two fields in my form to enable the Submit button for the final user, however the removeClass('disabled') not working. $('#main-form').on(function () { simCode = $('#main-form…
-
0
votes2
answers64
viewsSend e-mail without finalizing the form
I have an html form in step by step, that when I click on the "next" button I need to send the completed data by email but without finalizing the form, how can I do this, is in php?
-
0
votes1
answer68
viewsKill delay() execution using jQuery
I’m wearing exactly this: fadeIn(1000) - delay(6000) - fadeOut(1000) (8 seconds) To display an alert for the user, I decided to put in the alert itself a button for the user to give dismiss, using…
-
0
votes1
answer138
viewsJquery3.2.1 Function Datepicker exists?
I’m using bootstrap 4 and I want to use the datepicker, how can I call the datepicker using the bootstrap 4, I can’t find the documentation talking about it?…
-
0
votes1
answer33
viewsUnexpected token : from a URL with extension . json
When trying to get a JSON through the URL: http://www.cidades.ibge.gov.br/gmap/shapes/35/MU_M13_3550308_1000.json I get a status 200 with the error: Uncaught SyntaxError: Unexpected token : Using…
-
0
votes0
answers20
viewsJquery Sortables - Are there different ways to move a piece as per an image?
In the original example the user can click on any part of the < div content > (or componently) and move it, https://jqueryui.com/sortable/: <div id="sortable" > <div> conteudo 1…
-
0
votes0
answers33
viewsjquery mobile store variables in the application
Hello I’m creating a little app no and I can make calls to phone numbers entered through forms. The data is entered in a settings page: <div data-role="fieldcontain"> <form action=""…
-
0
votes1
answer521
viewsUpdate database with form data without refresh
Hello, I’m making a control panel of a scoreboard, where I have a screen with all the games of the round and as the games are already previously registered on the bench, I need to update the games…
-
0
votes0
answers36
viewsMove span with jquery
I’m making a span move when I put the mouse over a button, and when I take the mouse it goes back to initial position. I am using the jquery’s Animate class, the only problem is that when I pass the…
-
0
votes0
answers156
viewsButton loads all instead of filtering by group
I have a problem, where if I press the button to load more blocks through the database, it will load all in the ID order, however if I have in some filter it keeps loading all instead of only that…
-
0
votes1
answer289
viewsMultiples Ckeditor on the same page
I am creating a system in which the user can put as many textarea as he wants, the system is already ready. The code to do this is this: function addPergunta(){ pergunta++; var corpo = "<div…
-
0
votes0
answers68
viewsDirectory problem in XAMPP
My XAMPP server (local host) has the documents of a project on /htmdocs/project , inside has a index.html what call This Javascript/Jquery Code $(document).ready(function ()…
-
0
votes0
answers96
viewsSend an html page via email
I’m in need of some help regarding how I can send a page’s html via email. In case, a client would enter a page and want to share this screen with someone, put the guy’s email in a form and soon…
-
0
votes2
answers579
viewsremoving li using jquery
Hi I’m making a responsive site and I came across a problem, the desktop layout between the menus has the logo, but for mobile does not have the logo. As the menus are in a li, I wanted to remove…
-
0
votes1
answer50
viewsHow do I make a registration system where the user at first inform only the email?
I would like to know how to create a registration system where the user at first inform only the email, soon after it will be directed to another page, where will complete the registration with the…
-
0
votes2
answers739
viewsAnimated arrow indicating rollover
How can I make the animated arrow from the homepage of this site? http://grouek.com/project/home
-
0
votes1
answer683
viewsRemove an iframe element
Good morning, I am trying to remove an element that is inside an iframe, I am even trying to add a class via jquery but without success, I have tried to use jQuery load, setTimeout and onload by…
-
0
votes0
answers532
viewsRemove %20 URL code
I created a php page and when I pass it via GET to another ,presenting the + sign when saved in a cookie. This + is code encoding %20.Any know how to remove that %20 from the url? link: page.php?…
-
0
votes1
answer53
viewsE-mail validation using Id and show
How do I validate email and if the email is valid, an "ok" icon appears on the email side, if it is not shown an "x" icon, if it is not typed, it does nothing.(using Hide and show) to hide the…
-
0
votes1
answer58
viewsDoes anyone know where I can find material for per toolbar in a Textarea, to use with php in the posting area?
I want to put a toolbar in this style in a text area, to use for styling articles for posts, someone can tell me where I find material, or perhaps, already teach or send some code for me to analyze…
-
0
votes0
answers308
viewsDownload File jQuery
I have a function click on jQuery and wanted me to click on the button it download a PDF file, as I do this function? $('#download').click(function() { //seria aqui a função } <button…