Skip to main content
2 votes
3 answers
84 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&...
Amaan Shah's user avatar
-7 votes
0 answers
48 views

Why am I getting an exception after creating a JSON object and attempting to pass it to a save method? [closed]

Code snippet: const saveData = function (callback) { app.ajax.postJsonAsync( 'err/details/save', getErrRef(), true, function (data, textStatus, jqXhr) { app.ajax.handleResponse(...
Scott's user avatar
  • 2,756
0 votes
0 answers
35 views

How to retain entered values across pages in MVC pagination without using a database? [duplicate]

I'm working on an ASP.NET MVC view where I'm displaying paginated data (10 rows per page) with editable fields (like textboxes) for each row. When I move from one page to another, the values I enter ...
DESILLA Yogeswararao's user avatar
0 votes
1 answer
31 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() { ...
smith's user avatar
  • 1
0 votes
0 answers
38 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 ...
RasmonT's user avatar
  • 411
2 votes
1 answer
64 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 ...
BlueDogRanch's user avatar
-1 votes
0 answers
35 views

Bootstrap selectpicker multiple selected up to another element change is not working properly [closed]

I have a dropdown role and another users (multiple select - bootstrap selectpicker). While I change role, then users will be selected automatically depending on role selected, with an Ajax call for ...
Al Imran's user avatar
0 votes
1 answer
59 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/...
shacker's user avatar
  • 37
0 votes
0 answers
32 views

Cookie consent update - not adding GA cookies back to browser in MVC

I am having the option to update the cookie consent of user when browse my site. Also, I have implemented the Google Analytics in my site. These GA cookies are non-essential cookies. When I accept the ...
Lalitha's user avatar
  • 67
0 votes
0 answers
72 views

Ajax call return status as 200 but goes to Error callback [closed]

Our Ajax call is successfully fetching value from DB, but it is going to Error callback but status code is shown as 200. In controller, we verified the value is returned as 1 which is expected. In ...
Annapoorani R's user avatar
0 votes
0 answers
44 views

How to restrict Slick slider dragging to a center zone only (disable drag from left/right edges)?

I'm using the Slick carousel library to display reviews loaded dynamically from a review.json file. The setup works well, including autoplay and infinite scroll. However, I want to restrict dragging (...
RasmonT's user avatar
  • 411
-1 votes
0 answers
33 views

jQuery Magnific Popup: "Uncaught TypeError: a is not a function" on refresh or multiple loads [closed]

I'm using the Magnific Popup jQuery plugin in a WordPress site based on the Porto theme. When navigating or refreshing the page multiple times, I intermittently encounter the following error in the ...
nino quijano's user avatar
-1 votes
0 answers
87 views

How to create a smooth infinite horizontal scroll (loop) with JSON-fetched content in JavaScript? (Solved) & how to make dragging work only in center? [closed]

I'm building a portfolio website where I show client reviews inside a horizontally scrollable section. I'm fetching the review cards dynamically from a review.json file. Everything works — drag, auto-...
RasmonT's user avatar
  • 411
1 vote
3 answers
109 views

Why can’t I control the size of inline SVG fetched via JavaScript (even with width, height, and viewBox)?

I'm working on a modern website(I'm not a web developer, learner here...) where I want to use a background SVG for a section. The SVG was traced and exported from Adobe Illustrator, and it contains ...
RasmonT's user avatar
  • 411
3 votes
3 answers
129 views

How to stop main <li> from closing when clicking an <li> within it

Ran into a snag and hoping the community can provide some insight to help enlighten a fellow coder. Here is a breakdown: Setup: 3 tier menu with jQuery click handlers to display/hide the second and ...
DigitalDesigner's user avatar

15 30 50 per page
1
2 3 4 5
68814