Questions tagged [jquery]
jQuery is a JavaScript library, consider also adding the JavaScript tag. jQuery is a popular cross-browser JavaScript library that facilitates Document Object Model (DOM) traversal, event handling, animations and AJAX interactions by minimizing the discrepancies across browsers. A question tagged jQuery should be related to jQuery, so jQuery should be used by the code in question and at least jQuery usage-related elements need to be in the question.
1,029,107
questions
0
votes
0
answers
18
views
sources input failing validation
I have this logic that is in a form that some users are able to process without selecting a source. Is there a better way to do this logic so it will not fail I am unable to get it to fail so I am ...
0
votes
0
answers
16
views
Fade in and out multiple images on hover
I'm trying to create a smooth transition of a stack of images on hover; what's the best way to do this with jQuery?
I almost have it, I think; the issue is that the first hover image transition goes ...
0
votes
0
answers
17
views
How to call a JavaScript function inside the dynamically generated HTML using document.getElementByID
I am generating dynamic HTML using JavaScript's getElementById and in that HTML I have some functions call on the onclick event and they are not working. Below is my code snippet.
Dynamic HTML
...
0
votes
0
answers
11
views
jquery datatable not displaying the table perfectly
am displaying data from a table in the db using jquery data table.when i have loaded data to the table it appears norma and perfect. however when the data table is empty the table shows as ...
-1
votes
2
answers
20
views
Copy input value after page loaded
How to get the text value from the SOURCE to the TARGET,after the page fully loaded?
SOURCE
<input id="gclid_field">
TARGET
<input id="gclid_form">
SCRIPT
window....
0
votes
0
answers
15
views
Making 2 SwiperJS scripts work together - 2nd one not working when other init script is added to same page
Having trouble making 2 swiperJS Sliders work together.
The conflict seems to be in the for each, or the JS column in codepen / the external script file that initializes the slider.
Anyone have any ...
0
votes
0
answers
7
views
AJAX FormData submit fails with the word "DEL"
Today I had a problem with the register of an user call "Del Campo", the AJAX fails always that the input text have the word "DEL" and I get 403 Forbidden. The reproducible error ...
1
vote
0
answers
12
views
next/scripts are not loading in production mode but are working fine in dev mode
My nextjs scripts are working fine in dev mode but are not loading sometimes in production.
I have several tags in the pages/_document.js file.
They do take sometime to load in the dev mode as well ...
1
vote
0
answers
11
views
ExpressJS & Multer - req.body returns [Object: null prototype] {} when uploading file
I have a route to upload files and I'm using multer as a middleware.
Express Server Code:
const multer = require("multer");
app.use(express.json());
app.use(express.urlencoded({extended : ...
-2
votes
0
answers
14
views
Pdf Flip Book in Javascript
Is there any library in javascript or plugin for a flip book animation of a pdf file? if not then how can I use this effect in my webpage
-1
votes
2
answers
26
views
How to write the Javascript that gives each link a custom URL to jump to on click according to it's child element's text contents?
I wonder if it is possible to write a Javascript that gives each link a custom format URL to go to on click.
<!-- example set one -->
<a href="javascript:myfunction()" class="...
0
votes
0
answers
24
views
ASP.NET Javascript .live() obsolete
I needed to update a project and after updating bootstrap and jquery, some functions stopped working.
Before I had this code that worked perfectly when I clicked on an image inserted in the first ...
0
votes
1
answer
15
views
Jquery draggable/droppable and overflow style
I am having a problem with a drag and drop system using CSS overflow values to vertically scroll a list of values that can be dragged between selected and unselected values. However when you drag from ...
-1
votes
1
answer
21
views
is there a better way to implement simple function to multiple element in a DIV and to work only if its click in jQuery
This work perfectly but I will want more professional way because I want to follow the rule of "don't repeat yourself".
$("document").ready(function(){
$(".child:first&...
2
votes
0
answers
24
views
How to add shadow effect on bar chart using ChartJs?
I'm using chartjs 3.9 to build a bar chart. I'm trying to get a shadow effect on the bars like this:
I couldn't find how to do this on the documentation. Can someone help me, please?
This are my ...