1,032,103 questions
-2
votes
1
answer
41
views
Replace leading minus with trailing BCE [closed]
I'm not able to use the date module in my CMS because of the historic dates (many are before the common era), I want to use numbers (this provides me with a correct sorting of the items); so when I ...
0
votes
1
answer
29
views
jQuery DataTable not calling ajax
Have a web application I am building using Visual Studio 2022, .Net (not Core) that has a page that uses ajax to gather data for a DataTables table. Problem I am having is that the ajax endpoint ...
-1
votes
0
answers
37
views
How to make a variable content format on a page for the user? [closed]
Need advice from experienced programmers on how best to organize variable content on a blade template page in Laravel, where data is received.
The task is as follows. Make the ability for users to ...
1
vote
1
answer
41
views
Force jquery.confirm to finish before continuing
This is a simplified version of what I am trying to do. When a user clicks a button 'ClickMe', I want to call a validation routine that if the color passed in is not blue, ask the user with a jquery....
0
votes
0
answers
37
views
How to use Theia Sticky Sidebar without Jquery [closed]
I am using the theia sticky sidebar, but this is Jquery Dependend plugin. But it also have a vanilla JS version in CDN. But not working without Jquery. How can I use it without Jquery? and will get ...
-1
votes
0
answers
55
views
Datatable ajax reload with new data [duplicate]
So I already have my main table set up upon initial load in a javascript file as such:
let table = new DataTable('#UsersTable', {
ajax: 'user_data',
rowId: 'id',
columns: [
{ data: ...
2
votes
2
answers
96
views
Choose random options from multiple select menus at the same time [duplicate]
Using Javascript select random option, I can see it's possible to have a single select element on a page, and to set up a link on the page that will select a random option from that select element ...
1
vote
1
answer
42
views
Parallax hero image turns grey after window resize / DevTools
I’m using jQuery Stellar to create a parallax hero at the top of the page.
<!-- HERO -->
<div class="site-blocks-cover"
data-stellar-background-ratio="0.5">
&...
0
votes
0
answers
41
views
jquery - adding a div to a list of divs [closed]
So I have a structure like this on my page (greatly simplified):
<div id='full-list'>
<div id='test-1'> STUFF ONE</div>
<div id='test-2'> STUFF TWO</div>
<...
1
vote
1
answer
23
views
Mocking a global jQuery object in Node.js
Can someone please explain to me why the upper code works as expected but the lower one does not? Thanks a lot!
$ nvm exec 22 node
Running node v22.15.1 (npm v10.9.2)
Welcome to Node.js v22.15.1.
Type ...
2
votes
3
answers
102
views
How to append HTML tag into textarea as plain-text?
I am working on designing a blog from scratch and I'm trying to add the ability to insert <b> </b> into a textarea by clicking a button. However whenever I try to append <b> </b&...
0
votes
1
answer
38
views
Selected time automatically shifting and unselected
I have configured the jquery datetimepicker by cdn. The datetimepicker have shifting the time 1 hour back from the input field value for each time opened the datetimepicker.
function onChangeSites() {
...
0
votes
0
answers
48
views
GSAP + SplitType + i18n text fails to update correctly after language change
I'm using GSAP with SplitType and a custom language switcher (en.json, es.json) to translate my website dynamically.
Everything translates correctly except the .scroll-fade-text section — which uses ...
2
votes
1
answer
68
views
How do I use the jQuery each function?
This jQuery should loop through and grab the href attribute from each href link and display the different href in each of the #link divs. But the problem is that I get all three URLs printed in the ...
0
votes
1
answer
64
views
Add spacebar click event for pagination buttons
Having trouble getting a keyboard spacebar press to trigger on pagination buttons(links). The buttons are marked up like so:
<a class="page-numbers" href="https://example.com/...