1,034,742 questions
0
votes
1
answer
43
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
0
answers
35
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
38
views
How to replace deprecated jquery $.proxy
I have this Jquery code and get a deprecated message. How do i replace them to get rid of the deprecated messages.
api.$element.on(this.eventType('start'), $.proxy(this.start, this));
api.$element....
-1
votes
0
answers
56
views
how to fill textarea value using jquery and parse html inside [closed]
I'm developing a website with laravel as backend and pure js as frontend. I'm getting a field named Bio and in backend I'm removing any unwanted html tags and keep the ones I need with mewebstudio/...
-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
45
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
48
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
36
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
156
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
49
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
80
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
79
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
47
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
64
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
54
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 ?>&...