1,033,386 questions
Score of -5
0 answers
147 views
Pulling data from JSON file into <select> [duplicate]
I am trying to get data from a .JSON file and put it into HTML <select> drop-down list. And it works.
The problem appears when I try to list in console the field's <option> with class=&...
Score of -1
1 answer
92 views
Alert if a draggable div is not dropped into droppable class [duplicate]
I have a function which has an AJAX call to populate a div with a further number of divs dynamically.
Then I can drag a div with a class of liveBox into a div with a class of MDTOptionsHostDiv no ...
Score of 0
2 answers
99 views
Restricting the droppable vicinity of dynamically generated draggable div [duplicate]
I am adding draggable child divs to a parent div and making the draggable child divs draggable upon creation via an ajax call. I want to be able to drag .liveBox divs only to the div ....
Score of 0
4 answers
138 views
Dynamically created divs not draggable
I have a table with two cells with a parent div in each cell.
Via an ajax call I am populating the divs with child divs and I want the child divs to be draggable but after setting them to be draggable ...
Score of 4
1 answer
186 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
115 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
188
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 ...
Best practices
0
votes
2
replies
106
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
189
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
59
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
91 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
139 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
110
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
134 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
112 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 ...