Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
1 answer
30 views

Update Dom With Result from Ajax with Action Event Not Working

I'm Developing a Comment Replay System As any Social Media website But Using YII2 Framework I Created Wedget To Show a list of Comments On Some Items ( like products ) Each Comment is With button &...
عماد الصلاحي's user avatar
0 votes
0 answers
41 views

Change Link Targets in iFrame

I have to use YouTrack in the company I am working for, and it drives me nuts for several reasons. I am now creating a Chrome Extension which helps me calm down a bit. One of the absolutely ridiculous ...
Filib's user avatar
  • 1
2 votes
1 answer
36 views

Datatable- How to custom sort one column by defferent values every times from rendered html element

Let's assume the cell of the Datatable are rendered like this: columnDefs: [ { targets: 0, type: 'percent', render: function (data, ...
Web Star's user avatar
  • 432
1 vote
2 answers
46 views

Keeping tabindex order logical within a slider displaying multiple items

My website has carousel/slider panels with tabbed navigation. Each panel shows a "river" of book covers. 5 covers are shown at a time and clicking next/prev slides 3 books out and 3 new ...
liberty_bell_7's user avatar
-1 votes
1 answer
42 views

How to reset values and IDs of input elements which are inside TD elements of a table after dynamically deleting row with jQuery?

I have following table: <thead> <th>SR</th> <th>Object</th> <th>Weight</th> <th>Color</th> <th>Shape</th>...
Vaibhav Yawalkar's user avatar
3 votes
2 answers
126 views

Open a collapsible parent class on page load when a child class is active

I have an html page with accordion sections with buttons btn-acc-tab. The sections acc-tab open when a user clicks on a button, and each section contains links tab-link that can be active. The ...
grommit's user avatar
  • 179
1 vote
0 answers
34 views

Unable to load text from textarea to docx

Need to load outputTextElem text from textarea as a docx document on button click. But the existing method will not work: const downloadBtn = document.querySelector("#download-btn"); ...
user221117's user avatar
0 votes
0 answers
41 views

Get SVG Path Point Position Relative to DOM (not parent SVG)

I am trying to do a motion path of an image, that will jump from 1 SVG to another, following all paths. The image is a normal What I want is to move the image to a specific point, on any svg I have ...
BlasterGod's user avatar
0 votes
0 answers
26 views

$(this).height() is zero on mobile while on desktop it has its intended height

I've ran into a problem that the ($this) object's height is 0 on mobile while it has the height on desktop This problem only occurs on the first load of the site. After I reload it or i access the ...
nikoizelin's user avatar
-1 votes
1 answer
54 views

Holding a large variable in JavaScript [closed]

I have some JavaScript that finds all the checked items and arranges the data in memory. I need to display a modal popup. And, when that popup is closed, I will again need the data I created above. I'...
Jonathan Wood's user avatar
1 vote
1 answer
64 views

vue js and jquery DOM manipulation

I wonder if anybody can give me advice how to approach the situation when I need to access DOM elements directly while I am also using VUE.JS. I use Fomantic-UI framework (fork of dead Semantic UI). A ...
Martin's user avatar
  • 13
0 votes
1 answer
100 views

Add class on click to a unordered list item to change the background color of list item and at the same time remove it from other list item

enter image description hereI am trying to add a class on the unordered list item when I click on it and a the same time it should be removing the same class from other list item. I have tried using ...
Siraj Saifi's user avatar
0 votes
0 answers
56 views

DOM manipulation from an async JS

I need some help with async javascript and DOM manipulation. More precisely I am using revive adserver on my website and need to change a zoneid in the adserver tag if consent is given by a cookie ...
Phoenix's user avatar
0 votes
1 answer
54 views

How can I create canvas the same size as a div in a grid?

I'm trying to create a page that has a grid layout, and I'm facing some issues when I try to put a smaller canvas inside one of the grid's div's. The main issue is that I cannot get the height of the ...
Anonimas Tikrasis's user avatar
0 votes
0 answers
24 views

Get DOM from external page using AJAX after 1 second

I am working on a page that gets the DOM from an external page, but when the external page completely loads, then it gets updated once before its fully loaded. Let me explain it more clearly. The ...
SinfonierDominante's user avatar

15 30 50 per page
1
2 3 4 5
621