Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

I have successfully implemented a tabbed pane design with collapse for small screens. On one of the panes I would like to include a button which toggles to another pane. I have tried unsuccessfully ...
pcla56's user avatar
  • 21
1 vote
1 answer
42 views

I’m having an issue with this JavaScript: when I paste a number, the TextChanged postback is not triggered, whereas it works correctly when I type the value manually. It’s a general control, and the ...
Gianlu23's user avatar
-5 votes
1 answer
44 views

In a WordPress page editor HTML block I have: <script> jQuery(document).ready(function() { jQuery('.wp-block-button__link').addClass('sg-popup-id-2331'); }); </script> However, ...
Steve's user avatar
  • 1,897
-1 votes
0 answers
114 views

I have a webpage where I want to get multiple instances of the same JQuery-powered gallery tool. The first instance works just fine; all the individul items are clickable, the arrows work, and moving ...
Cri86-Titanium's user avatar
-6 votes
2 answers
124 views

I am trying to submit a form and validating data using jquery by calling preventDefault() when it's incorrect. After addressing the validation error, what I want is to submit the form when the submit ...
user32516169's user avatar
Advice
0 votes
1 replies
37 views

I have this button that toggles it's text from "Show more..." to "Show less..." whenever it's clicked: <button class="btn btn-sm btn-secondary" title="...
Boycott A.I.'s user avatar
  • 18.9k
Best practices
1 vote
7 replies
116 views

I am removing inline JS from HTML files due to CSP in an existing project, so this old code: <input value="Click here" type="submit" name="submitA" onclick="...
David Balažic's user avatar
Advice
1 vote
19 replies
308 views

I have a quiz with 5 questions with a couple of answers you can choose from each, it's always single choice, so you will have 5 variables in the end, one per question q1="",q2="", ....
user avatar
Advice
1 vote
17 replies
211 views

I am passionate about writing a personality/psychology/dating website. I know how to use variables a bit, but I don't know which is the best way to store them. There are cookies, sessionstorage and ...
user avatar
1 vote
0 answers
93 views

I am trying to add lightGallery v1.10 into a Laravel project with Vite. The following is my bootstrap.js file: import $ from 'jquery'; import jQuery from 'jquery'; window.$ = $; window.jQuery = ...
Zhiyong Li's user avatar
0 votes
3 answers
75 views

I am using jquery.validation in an ASP.NET MVC form and would like to disable the submit button when jquery.validation passes and form actually submits. The validation triggers in the background (I am ...
tshunter105's user avatar
Advice
0 votes
6 replies
75 views

I am trying to display the updated length of the input username by a user. I know that we can use .change() shorthand but it updates after the span has lost focus. I want something to update it ...
Ankit Raj's user avatar
1 vote
2 answers
70 views

I have many accordion elements that are added by an ajax function. When the elemet is created in ajax i call the function: $( ".accordion" ).accordion({ active: false, collapsible: true, ...
Ro Bo's user avatar
  • 43
Advice
2 votes
1 replies
199 views

I am trying to make a fully customisable home page for the user. The idea is for it to be like OBS. You can add or remove windows to your home page, and you can resize them so each window takes up the ...
Sakura De Francesco's user avatar
0 votes
0 answers
24 views

I am using leaflet.js to create a map and add a select box to the map. That works, but the change event, which used to work, does not work anymore. I start by creating the two objects that I need, the ...
Jim's user avatar
  • 133

15 30 50 per page
1
2 3 4 5
68946