1,034,741 questions
0
votes
1
answer
38
views
ASP.NET WebForms still loads old jQuery from ScriptResource.axd after upgrading to jQuery 3.7.1
Our security team flagged an issue indicating that an older jQuery version appeared to be loaded in our application.(ScriptResource.axd)
I am working on an ASP.NET WebForms (.NET Framework) ...
0
votes
0
answers
83
views
How to Prevent Auto-Scroll During Streaming When User Manually Scrolls Up?
I'm building a chat interface where AI responses are streamed chunk by chunk (similar to ChatGPT). The current implementation automatically scrolls to the bottom as each chunk arrives, which works ...
-6
votes
0
answers
86
views
Topic: HTML Project with AJAX, JQuery. Question about the download of Node modules [closed]
Context:
I'm an IT student, and in college, it's common to only use CDN to install libraries such as JQuery to the project. However, I think it's better to download the Node modules for my projects ...
2
votes
1
answer
94
views
Reduce logical pattern repetition for minDate and maxDate from Bootstrap DateTimePicker
The following logical pattern repeats several times:
$("#dt_start").on("dp.change", function (e) {
$('#dt_end').data("DateTimePicker").minDate(e.date);
});
$("#...
0
votes
1
answer
99
views
Ajax queries failing and then succeding on retry with prefilter
I have a jquery based functionality that prefilters all ajax queries so it can intercept 401 requests and refresh api authorization.
I used to use a function that simply checks for a 401, refreshes ...
-1
votes
2
answers
104
views
How to replace deprecated jquery $.proxy
I am having trouble with rewriting .proxy in jquery to Function.prototype.bind because .bind does not set guid on the bound function instances so that proxied event handlers can be removed without ...
-3
votes
0
answers
42
views
data- attribute leaves data visible in html element [duplicate]
I have an input in my jsp which gets userInfo from a ModelAndView object.
<input value="Submit" name="proceed" type="button" id="btnSubmit" class="btn ...
-2
votes
0
answers
53
views
jquery array returns empty result [duplicate]
I have the following which creates an array (of sorts!):
var combined = [];
function slides(){
$.ajax({
type: "GET",
url: '../queries/get_all_slides.php',
cache: false,
dataType: &...
2
votes
1
answer
74
views
Conflict between selectableRange and rowSelection: Clicking checkbox deselects other rows
I am using Tabulator (v6.3) and facing a conflict between the selectableRange module and the rowSelection formatter (checkbox).
The Goal: I want to use Excel-like range selection (selectableRange: 1) ...
0
votes
0
answers
54
views
Redirect to admin page problem. Using node.js with jquery
$('#loginForm').on('submit', function (e) {
e.preventDefault();
const username = $('#username').val();
const password = $('#password').val();
$.ajax({
url: '/login',
...
0
votes
1
answer
176
views
Why does SVG tag make other elements invisible when the HTML page is loaded?
I am working on a template composed of pure HTML, JavaScript (using jQuery and Slick libraries), and CSS. Note: I am not using any common frameworks aside from Bootstrap.
This is the part of the <...
0
votes
1
answer
51
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
85
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
81
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
48
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 ...