All Questions
9,314
questions
-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 &...
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 ...
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, ...
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 ...
-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>...
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 ...
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");
...
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 ...
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 ...
-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'...
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 ...
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 ...
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 ...
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 ...
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 ...