All Questions
Tagged with jquery-live or jquery
1,034,811 questions
0
votes
1
answer
22
views
Wordpress Chauffeur Plugin Issue [closed]
I upgraded a version of Chauffeur plugin from 6.4 to 9.0. This is form plugin and on form there are date and time options. So when I select time after selecting date. Console shows this error. I ...
0
votes
1
answer
40
views
Kendo MultiColumnComboBox select event sometimes not triggered after item selection
I’m having an issue with Kendo MultiColumnComboBox where the select event is not fired from time to time.
Component: Kendo jQuery MultiColumnComboBox
Option: serverFiltering: true
Symptom: After ...
0
votes
2
answers
66
views
Issue with select2 and option group
I am adding a new option to a select2 optiongroup with custom drawing of options. here is my code:
function defaultParameter(value, defaultValue) {
return typeof value !== 'undefined' ? value : ...
1
vote
1
answer
71
views
jquery each function works just on first item
I use this lightweight plugin to display text continuation on hover :
https://lukifer.github.io/HoverForMore.js/
I am using the jQuery each function to call all items and run this plugin on each one, ...
Advice
0
votes
2
replies
41
views
Is it possible to use the dataset content values in my script?
I'm trying to use dataset content in my Javascript, but I can't get it to work. Is this even possible or has the content run too late? The values are being output in console correctly.
// JavaScript ...
Tooling
0
votes
3
replies
62
views
laravel real time communication
I’m trying to implement a real-time notification system in my Laravel application. The frontend uses jQuery, and the backend uses Laravel’s broadcasting system with Reverb (also tried with Octane and ...
0
votes
1
answer
46
views
Using Jquery how do I find an element by id using a regular expression
I'm using PHP8.1 and JQuery.
I have a script with several links that each have an id that is a digit only. i.e:
<a href="#" id="<?= $id ?>"><?= $student_name ?>&...
3
votes
1
answer
109
views
clicking a button with JavaScript using a class and anchor text, rather than ID
I am trying - and failing - to write JavaScript to click this button:
The HTML for the button varies depending on the page
Example 1
from this page:
<span class="a-button-text" aria-...
1
vote
1
answer
97
views
Changing input from checkbox to button
I have a jsp file which results in this HTML:
<form id="paymentForm" action="submit_payment.form" method="post">
<div class="notvalid">
</...
-1
votes
0
answers
27
views
Print excel/pdf in jqgrid-php from an abstact grid
My project had too many grid pages and it was quite the mess so I decided to make one sole generic grid file with configurations and each time the same page loads different configs depending on the ...
9
votes
1
answer
759
views
Calculating distance to animate elements at the same speed
This is as much a math question as it is a coding question.
Picture this scenario:
___________________
| |
(#1) | Center ...
1
vote
2
answers
89
views
How can I sync row order across multiple Data-tables without triggering infinite re-sorting?
I have four Data-tables tables on a page, each displaying different financial metrics about the same set of stocks. Each table shares a common Ticker column, and every table has the same number of ...
1
vote
1
answer
68
views
Trying to remove an item from a kendo combobox datasource in a for loop not working
I am trying to remove an item from a Kendo UI Combobox in a for loop but it won't remove the item from the Combobox. Any idea's on what the issue could be?
Thanks
Here is the code that I am using
if (!...
2
votes
2
answers
110
views
Multiple selectors using variables for the selectors
My web table has two columns of cards (using flex). each column is in their own container.
I have some JS (using jquery) that adds mouseover and mouseout handlers to the cards in column 1 which adds ...
4
votes
1
answer
123
views
Can I use theia sticky sidebar without jquery?
Theia Sticky Sidebar not working without jQuery — CDN serves raw JS (v2) but my code expects jQuery v1 — how to migrate or fix?
I'm trying to use Theia Sticky Sidebar on a site where I replaced jQuery ...
-3
votes
1
answer
139
views
How to use media query with jquery
I have a contact icon at the bottom right of a page that fades out when the user is within 300px of the bottom of the page so that it doesn't cover any info in the footer. The problem is the footer is ...
0
votes
4
answers
65
views
How do I make a jQuery form fire success and failure code?
I am trying to use a javascript form to submit data to a server I control. The form works great and the data is submitted to the server, but I can't get the javascript success and fail subroutines to ...
1
vote
1
answer
191
views
How to open and close the Bootstrap 5.3 navbar burger menu on mouseover via CSS?
For days, I've been trying to configure the opening and closing of my navbar created with Bootstrap 5.3, when it is reduced to a burger menu, via hover rather than click.
I've managed to do this in ...
0
votes
2
answers
121
views
How do I make the same button play AND pause the video with jquery? [duplicate]
I'm trying to make a button that plays the video when paused, and pauses when playing. I can make it pause, but I want the same button to play when paused.
BONUS: How can I also make the text change ...
3
votes
1
answer
64
views
Sum input fields values when checkbox are checked
i need help please for my project.
I have to make 2 functions:
For all lines, once checkbox is checked, i want to get value from input field to calculate sum (it's ok)
For lines checked, while input ...
0
votes
2
answers
119
views
How to copy the new value of a data attribute?
What I'm doing is having the value of my <input> reflected in the value of the data attribute every time I click a button, to then copy the value with another button.
Example: If I type "...
0
votes
1
answer
162
views
How to apply CSS Style to an <object> child
This sounds simple, but doesn't seem to work.
There is an HTML5 page containing an <object> element, which references a PDF .
<object data="/store/documentDraft.pdf#zoom=80&view=...
1
vote
1
answer
68
views
Dynamic tab content from hidden div not rendering reliably with jQuery on PHP page
I'm building a PHP page with multiple tabs (Termijnen, Mandaten, and Admin). Each tab's content is pre-rendered by PHP inside hidden <div> elements. I then inject the content into a visible ...
0
votes
0
answers
44
views
Over riding a forms Submit button with Javascript [duplicate]
I have a login form with a submit button to submit the form. it 'Fetches' a PHP page that sets some SESSION Variables and returns to the login screen.
on completion I hide the Login Name and Password ...
1
vote
1
answer
121
views
jQuery Events are not binding on buttons in a responsive datatable
I have a table
column 1
column 2
colum 3
[buttons]
data
data
data
[Button][Button][Button][Button]
I then convert the HTML Table to a responsive datatable, with the buttons bound using a jQuery ...
-2
votes
1
answer
73
views
jQuery not grabbing form setup in chart.js loadCallback function
I have a form appearing in a popup, this loads in the content section of chart.js new Popup function. I'm utilizing the loadCallback as described in their documentation to set up actions based on ...
1
vote
2
answers
89
views
Bootstrap Multiselect Unable to preventDefault inside passive event listener invocation on mobile error
I'm using bootstrap multiselect (https://github.com/davidstutz/bootstrap-multiselect - current version) in a form. On desktop it's working fine, but on mobile or if I use the Responsive Design Mode in ...
1
vote
2
answers
175
views
Changing blank div() using $(#selector).load() does not work as expected
Trying by myself to .load() element from other html page.
Here is my homepage.html
<!DOCTYPE html>
<html lang="fr" data-fr-scheme="system">
<head>
<...
1
vote
3
answers
133
views
Play sound when mouse is over an svg bell
From this link I have a nice little animated svg bell. Move the mouse over the svg and the bell swings back and forth.
All that's missing is some sound! Tried various tips from here, but I can't get ...
0
votes
0
answers
53
views
Kendo UI Progress disappears when called
I am running into an issue with the kendo.ui.progress, sometimes when i run it i have to put all my code into a setTimeout so the progress will show...Is there another way that I can get it show ...
1
vote
2
answers
51
views
jQuery Tablesorter plugin: How to define the value that the filter is tested against
I have a tablesorter table with a column where each td contains a lot of html. I don't want the filter term to be tested against all of the contents of the td, i just want it to be tested against a ...
0
votes
1
answer
102
views
How can I prevent selecting DOM elements that exist only in memory? [closed]
I have a modal with elements that I want to return to a default state every time the modal is closed. Rather than worry about making sure I tell the openModal or closeModal functions to clear each ...
0
votes
1
answer
107
views
is there a way to compose jQuery elements?
I have been tasked with refactoring some legacy code that uses jQuery extensively.
It would be nice to be able to do something like the following
const previouslyMadeElementWithHandlers = /* already ...
1
vote
0
answers
106
views
How do I make a draggable image when on zoom: it stops at edge of the window
I am making an Image Viewer for my website for when on zoom and dragging the image, the image will be limited inside the window and will not show any empty spaces.
The current code I have is expected ...
0
votes
1
answer
46
views
JQuery show "default" select value on change of first select from mysql values
I've three selects
The first shows product name. The list is generated by a mysqli_query
<select id="product">
<option value="abc">ABC</option>
<option ...
0
votes
1
answer
95
views
jquery find and remove specific string on links
i've some <picture> balises in my website with several links inside them. In each <picture> balise, all these links are for the same img, my goal is to remove a specific string from all ...
0
votes
1
answer
223
views
How to vertically scroll child elements based on mouse position entering parent container?
I have a parent div whose height can vary based on window vertical resize. That parent div needs to employ overflow-y:scroll for sought functionality. The parent div contains 8 child divs of various ...
2
votes
2
answers
93
views
How to exclude some class or pages using .offset().top
I'm using this part of code on my website and it works very well:
$(document).ready(function() {
setTimeout(function() {
var scroll = $('.restaurant, .mention, .politique, .condition').offset()....
3
votes
1
answer
86
views
How can I make the hidden div to fade in when the slide changes?
My script is supposed to fadeIn() a div when a slide of the carousel is "active".
At the start, the first image is visible, le div slowly fades in.
I manually move to any slide, but then the ...
0
votes
0
answers
47
views
jquery stop scroll on setTimeout click function
I'm setting a click function to open a tab but on click it scrolls the page down which I don't want to happen. How can I stop the scroll?
$(window).bind("load", function() {
if ($('.feefo-...
0
votes
0
answers
113
views
Extract data from a dynamic Excel file using jQuery and display it in HTML
Question:
I'm trying to extract specific values from an Excel file and format them into an HTML layout using jQuery. Here's what I'm aiming to achieve:
Highlight course names
Display video links as ...
3
votes
1
answer
136
views
Angular web component doesn't work along with JQuery
I'm making angular web component to improve another component built on JEE application, but it broke with Jquery.
I have made a minimal test to reproduce the error.
<html>
<head>
<...
-1
votes
2
answers
107
views
Submit combined form elements from parent and iframe
I'm trying to get this working, based on a YouTube video that credits a post on here. However, I've tried it exactly as shown on the video, along with numerous alterations in an attempt to make it ...
1
vote
1
answer
68
views
Replacing iframe on click
I'm having some trouble replacing an iframe on click. I'm still mostly awful at javascript so I'm pretty sure something within the script is the issue. Any help is appreciated!
Sourced some code and ...
3
votes
1
answer
124
views
How to remove the border around footer/caption?
I have a carousel with multiple slides and a red border around the carousel. Each slide contains an image, followed by an hr tag and a caption. I want to remove the border after the hr tag and ...
0
votes
1
answer
86
views
W3Schools method for image magnifying glass doesn't work on mobile
I'm using a piece of code from W3Schools to make a large image have a magnifying glass effect when you hover over it: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_image_magnifier_glass
...
2
votes
2
answers
191
views
In a userscript, how do you modify a react.js's click event to open the href in a new tab?
It took a lot of trial and error to figure out how to do this so I figured I would post my own answer. That said, I'd prefer a vanilla JS userscript. I've only figured out how to get this working with ...
-1
votes
2
answers
117
views
AJAX file upload request will not end [closed]
I am trying to upload an image to the server but the request will not end. In DevTools, the request shows as pending while, in the backend, php is continuously writing to an ever growing file until I ...
4
votes
1
answer
181
views
Chart.js does not display line, just dots
I updated chart.js from old 2.6 to latest 4.5 and managed to break a bunch of stuff. I fixed all except for two issues:
Line chart that only shows dots and no lines. I know my dataset and
labels (...
0
votes
0
answers
70
views
Why does an ASP.NET Core 8.0 MVC project not load scripts from wwwroot while debugging in IISExpress?
I have an ASP.NET Core 8.0 MVC with controllers and API controllers. It has Razor pages which are loaded using MVC controllers. Pages then communicate with the portal using AJAX and a Web API.
...