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
votes1
answer179
viewsHow do you get inside the Modal as the data in the database leaves input checkbox (checked)?
On my Table in Products in my BD has the field Lawsuits and I made a modal so that the person marks the processes in which the piece may come to suffer, each letter corresponds to a process,…
-
-1
votes1
answer170
viewsCPF Jquery JS validation
Hello. I’m trying to do a validation for Cpf, this code is in Jquery, and without using onclick or something similar in the input, you need to take only the input ID in the form. Follows the code:…
-
-1
votes1
answer106
viewsHow to play recovered bank values in inputs using Fullcalendar
I’m having a hard time playing recovered values from a bench to fields of a form for later edition, I’ve read the documentation, I’ve looked for examples and even then I couldn’t, I’ve even checked…
-
-1
votes1
answer132
viewsHow to remove an HTML element with Javascript
Hello! Can someone help me? I’m starting Javascript and I’m having a hard time removing an HTML element with Javascript. I even managed to remove the product name and price, however, when it is…
-
-1
votes1
answer44
viewsReceive data from and submitted through a modal window
I have the modal window below... I cannot receive the data from the modal window Ubmit on the registration page.php... I don’t have much experience with javascript. Please help me! java script:…
-
-1
votes2
answers601
viewsPHP Jquery dynamic autocomplete
I am developing a php registration page where it contains 2 fields, a dropdownlist select field whose name is "Category" and the other an input field with autocomplete functions whose name is…
-
-1
votes1
answer34
viewsEdit PHP Data with Jquery and Modal Bootstrap
Gentlemen, because in the code below is not passing the data (fetch) to the modal so I can update? Html <a href="#editModal" class="edit" data-toggle="modal"><i class="material-icons"…
-
-1
votes1
answer410
viewsChange select value with Select2 Jquery in Blur event
I’m using the Select2 JQuery to present the selects of a system I’m developing. I have a field that type the ZIP code and select must have its value changed and presented to the user. My script de…
-
-1
votes1
answer46
viewsProblems in the identification of the div
I am trying to make a list of tasks to be simple where you have inserted tasks dynamically, there is a checkbox in each task that when being checked puts a line-through in the text, but in doing…
-
-1
votes1
answer119
viewsGet quantity of items from a ul
I searched the site before asking that question and I think what else looks like my problem is this: Get values from a dynamic list But it didn’t suit me, I believe I want to do it is something…
-
-1
votes2
answers160
viewsHow to search accentuated text, upper case, and minuscule text with html and javascript?
Can someone help me, with some hint? I have the code below that searches the paragraph, but the problem is when we do not add the text correctly in the search box (with uppercase, lowercase and…
-
-1
votes1
answer139
viewsHow do I bring records from the database by clicking on the checkbox using jquery and ajax?
Well, I can bring you data from the bank using ajax, but I want you to click on input of the kind checkbox, he performs the database query and shows me the data inside a flexbox. I have 10 checkbox,…
-
-1
votes1
answer66
viewsHow to add elements from a table based on a parameter
My table: <table class="tabela_finan table table-bordered mb-0"> <thead class="thead-dark"> <tr> <th>#</th> <th>O.S.</th> <th>Data</th>…
-
-1
votes1
answer73
viewsHow to use the if condition in jquery with variable usage?
I am trying to compare the selling price and the rate value over the selling price. example: the product costs 1467,73R$. my rate is 20%.In this case 20% above the price of the product would give…
-
-1
votes2
answers58
viewsError in logic, icon does not change when I click the submenu
Personal, I’m still studying java script, I’m making a MENU and it’s working, I made it from scratch and I’m correcting every step I want and I didn’t have... I got stuck now... The menu opens, goes…
-
-1
votes1
answer325
viewsIgnore accent when using search menu (input)
I created a input search and a list (side menu) below, when I do the search is ok, but I’m in trouble when any <li> has voice with accentuation. How could I implement a regular expression to…
-
-1
votes1
answer27
viewsRandom values with Jquery do not work
I have this code with JQuery, He does this: With the loop as long as it is < 5 he adds 5 li’s in my html, and then it generates a size random and adds in CSS, but it doesn’t work, all of mine…
-
-1
votes1
answer43
viewsHow to display the contents of the array by changing the structure ID dynamically?
I am trying to display the array products, however, I cannot change the Ids dynamically so that all products are displayed. So far, I can only display 1 product, because the ID is fixed, as shown in…
-
-1
votes2
answers49
viewsRemove class when resizing
I created a menu that, depending on the size of the screen, behaves like a fixed menu. However, when resizing the screen to normal size, the menu keeps adding the class to fix it, when it wasn’t…
-
-1
votes1
answer30
viewsEmail verification works, but then doesn’t "update" when I type and email correctly
When I type an already registered email it displays the message saying that the email is already in use and disables the Ubmit button, but when I type the right email the message does not disappear,…
-
-1
votes2
answers34
viewsJquery by selecting three forms at once
I am having a problem using Jquery, because it is selecting three forms at the same time, and they have different utilities. One is for new user registrations, another for login and one that serves…
-
-1
votes1
answer43
viewsHow to insert and remove table data with jquery?
The code below does not answer correctly, sometimes puts two commas, sometimes only removes the commas and sometimes works. ex when I click delete it looks like this in the input: [date1,date2…
-
-1
votes1
answer62
viewsFunction Sort() makes attribute data="" Undefined
I’m using the function sort() to sort some Ivs. But I’m having some problems. I use the attribute data="" to add a JSON. But because it has many bytes and is used on thousands of Ivs, I prefer to…
-
-1
votes1
answer32
viewsAdd d-block to inputs automatically
I need that, when removing the input focus, check that the field is still empty, if yes, a "d-block" is inserted into the div calsse with id "blurName". The posted solution solves the problem, but…
-
-1
votes1
answer41
viewsLoad php file with jquery
Hello, First of all I apologize if the question is not well structured. I’m building a content/stock and similar management system.. I leave below a print screen where I try to explain how this…
-
-1
votes1
answer109
viewsHow to list JSON data in a div using jquery?
Friends, I have the following JSON: { "codigo": "12345", "cerca": "Rato", "host": "df", "eventos": [ { "data": "21\/02\/2020", "hora": "19:38", "local": "Moema\/SP", "status": "Morto", "subTim": […
-
-1
votes1
answer26
viewsHelp with Jquery field validation
I did the following function for form validation in Jquery, but it got a bit big, and I have +50 fields to validate, someone knows some way to reuse this same function for the other fields without I…
-
-1
votes1
answer67
viewsDelete Laravel6x - with Sweetalert2
As I am beginner using Laravel (version 6x) I am having a problem to perform a Delete, I am using Sweetalert to perform the deletion follows the console error: POST…
-
-1
votes1
answer391
viewsUpdate select after registration without refresh
Good afternoon, this is my first post, I would like the help of vcs, I have a select option that searches the data in the bd, just after this I have a button where I open a modal window to include…
-
-1
votes1
answer42
viewsChange select field as registry without modifying list
Ola, I am making a form for creating/changing an order and have a list of items via <select> where you take the data via PHP/Mysql. When I fill in an existing order number I can make the value…
-
-1
votes1
answer48
viewsScript deleting other html elements
I am trying to put a required field message, at the moment I can only put in an input, the idea is to put in everyone and when it suffers the action of a click on the message, the tag that is…
-
-1
votes1
answer62
viewsReplace "Apostrophe" key when typed in mobile input
I am having a problem that I am not knowing the resolution when the system in question is accessed on mobile devices only. I have a TEXTAREA field so that users can write their data and consequently…
-
-1
votes1
answer354
viewsHow to recover object ID in Jquery table row
Guys, here’s the thing, I get the database data and I set up a table with all this, I need in each line to store the value of the client id coming from the bank too so later I can delete, change…
-
-1
votes1
answer46
viewsHow to delete the null string from the td tag?
How to remove "null" from tag ? I tried to use replace, but error occurs due to variable being null: Example: _st_versao_ofertada.replace("null",""); //Ná pode, ocorre erro. Como fazer ? <br>…
-
-1
votes1
answer103
viewsCompare real values and inject value into input with Jquery
Guys, I have a form where I have a field to type in values. This field has a mask in jquery that formats the values for Brazilian real 0.00, mvalor function, which is below, but this field can only…
-
-1
votes2
answers31
views"Hide" div by default
Good afternoon, I am developing a site for access to videos about disciplines, I want to make when selecting a discipline appear the buttons of the image below. Next to this select, I made two…
-
-1
votes1
answer49
viewsNav Bar in Bootstrap does not open in 768px responsive
Hello, when I click on the button (which only appears in the resposivity from 768px) the submenu does not open and generates the error below. <!doctype html> <!-- Bootstrap CSS -->…
-
-1
votes1
answer22
viewsDropdownlist Scading - Does not load the second dropdownlist
good night!!! I’m a total newbie on this Asp.net and I’d like some help from you guys. I got an example on the Internet of a waterfall dropdownlist. However, when I implemented it in my application…
-
-1
votes1
answer59
viewsProblems to delete with ajax in Laravel 5.3
Controller public function deletar($id) { $dado = Todo::find($id)->delete(); return response()->json($dado); } Route Route::get('/deletar/{id}',['as'=>'todo.deletar',…
-
-1
votes1
answer294
viewsIdentify the end of the page in the scroll?
First of all, I’m sorry, I see you have other similar questions, but I’m having an error that I’ve been trying to solve for 24 hours. The above image shows a method that 'tries to detect the end of…
-
-1
votes3
answers169
viewsSend data to external URL via form, uploaded to the same page
Hello! I am a beginner in PHP and am putting together a form to receive data through POST, and print them into a custom URL. The purpose of the form is to register leads on a third CRM platform,…
-
-1
votes1
answer66
viewsInclude icons on modal buttons
Good afternoon, I am creating a modal that is already with all the perfect functionalities, but I need to include in the buttons the accept and cancel icons to leave more didactic for the user, but…
-
-1
votes1
answer53
viewsForm error message even when sending is confirmed
Good night! I developed a form, with help from other users here, to send new records to a client’s CRM system. When we send, the data reaches the CRM, but the browser accuses the error message. I’ve…
-
-1
votes1
answer38
viewsAutomate Collapse with BD
I’m making a system to automate Collapse with my mysql. I have a table listed below: This Collapse system, works inside a modal window, where I tried to make each question appear in a Collapse. For…
-
-1
votes1
answer49
viewsWhy aren’t you showing the saved login in Localstorage?
I am creating a hybrid app with Cordova, and I want the user to log in first, it stays logged in direct. If it leaves the app for example, and logs in again, it doesn’t need to log in. I am using…
-
-1
votes1
answer33
viewsBlocked forms for editing
Good afternoon ! Friends, I created layout to insert materials in the stock, one item per line. If the person wants additional items, click on the button and a new div is inserted into Html. Follow…
-
-1
votes1
answer23
viewsHow to get dynamically generated ID (JS or Jquery)?
I want to open several Poup-up and be able to close each one individually, but I can only get the modal by the class, because the id is generated dynamically and I haven’t tried several ways to get…
-
-1
votes1
answer221
viewsShow BLOB in iframe src
Good afternoon, I’m here posting my doubt because I’ve tried some workarunds to get what I want and I’m not getting. My goal is to first hide the main link that is in the database. Let’s assume that…
-
-1
votes1
answer41
viewsImage based on the content of a div
I need to display an image based on the content of a div. The tag already exists and I need to discard the one that was loaded and replace it with the new tag with the image in question. Let me give…
-
-1
votes1
answer57
viewsReplace multiiplas words with a
I would like to replace multiple words with a single for example: This is what I tried, here only the first occurrence is changed var replaceGN = "Gênesis" var str = "Este é o livro de GEN, Gn é o…