1,033,623 questions
Score of 3
1 answer
164 views
Converting jQuery to Pure JavaScript
I've converted an audio sequencer from jQuery to JavaScript with the exception of ONE line and I can't figure it out
"use strict";
// $(function() {
let futureTickTime,
counter ...
Score of 0
2 answers
70 views
Drupal - Yoast SEO Snippet preview not rendering: TypeError 'attr is not a function' on native DOM element
I'm using the Yoast SEO module (drupal/yoast_seo 2.2.0) on a Drupal 11 site. The Real-time SEO field widget has two optional settings on the form display: "Enable title editing" and "...
Advice
0
votes
4
replies
126
views
How to create switch for Aurora Borealis background?
I've recently discovered this beautiful code, which brings a fantastic Aurora Borealis effect to a page's background:
https://codepen.io/Anil-Prajapat/details/dPoyReN
How can I create a switch which ...
Score of 0
0 answers
90 views
How do I check for a winner in a tic tac toe game that uses images for x and o instead of text?
I am making a tic tac toe board using HTML, Bootstrap, and jQuery (version 4.0.0). The tic tac toe board uses images of X and O instead of actual text so I'm having trouble basically checking if there'...
Best practices
0
votes
2
replies
85
views
jQuery DataTables child row (AJAX-loaded) shows in the wrong row when multiple rows are expanded — duplicate id="tableContainer"
I'm using jQuery DataTables with a dt-control column to expand child rows, where the child row's content is loaded via an ASP.NET PageMethod AJAX call after the row is expanded. When only one row is ...
Advice
0
votes
5
replies
181
views
Programming| System Development
Can someone provide me with a structured framework for web app development, covering the key stages from planning and design to deployment and maintenance?
Idea:
Requirement analysis → Understanding ...
Best practices
0
votes
1
replies
49
views
proper jquery plugin design
I've been trying to rewrite a plugin of mine so I can support extensions to it. I find conflicting design patterns online and it's ended up confusing me. What I want to do is add additional functions ...
Score of -1
1 answer
88 views
Jquery UI Dialog - open URL keeps auto closing
I'm trying to click an href and have it open a Jquery UI Dialog modal. I can get it to open the modal, but no matter what I've tried, it just auto closes as soon as it loads. I found multiple ...
Score of 0
2 answers
135 views
Change code to filter via multiple attributes [closed]
I have a filter setup using jQuery as per the snippet.
I would like to be able to filter by multiple attributes - at the moment I can only filter by the title attribute.
How would I change the code so ...
Best practices
0
votes
4
replies
102
views
The same classes for opening hidden blocks
Please help with the ready code if you can.
There are several elements on the page with the same class, and clicking on one button opens a hidden block for the clicked button. However, now all buttons ...
Score of 3
2 answers
128 views
Need to disable the submit button if both fields are invalid
I am trying to disable the submit button on a boostrap modal form until both addhostname and addipaddress fields are valid. I have tried multiple ways to detect the validity state of the addipaddress ...
Score of 0
1 answer
105 views
iframe redirect break out from parent page and make parent redirect
I am using the ASP plugin to accept credit card payments in my website:
https://wordpress.org/plugins/stripe-payments/
This plugin has a shortcode, that displays a button, that when clicked, it opens ...
Score of -1
3 answers
165 views
HTML table row missing event listeners from CSS class [closed]
I have an HTML table where I want my users to be able to add rows. After reformatting the HTML to look better, when they add a row by copying it from a template row, the event listener from the CSS ...
Advice
0
votes
7
replies
120
views
Add minimum quatitiy function to JavaScript
I found the following JavaScript function for jQuery online:
function wcqib_refresh_quantity_increments() {
jQuery("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)")....
Score of 0
0 answers
140 views
Trouble downloading a zip file using JQuery-Ajax-Springboot
I am having troubles with JQuery/Ajaxle downloading a zip file from a Springboot application. The file can be downloaded but I am getting an error when I am trying to open it.
The endpoint is in a ...