Questions tagged [dom-manipulation]

In SharePoint, DOM Manipulation refers to modifying the structure of a SharePoint page after it has finished loading on the client's side. In General, DOM Manipulation can refer to any technique that modifies the Document Object Model (DOM) of any given webpage.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Having null result whenever using dom selectors in spfx webpart

Trying to get the tsx video tag duration by selecting the tsx tag through dom selectors but getting null in the console
Ariyan Ashfaque Mostafa's user avatar
0 votes
2 answers
595 views

Node.appendChild Error [closed]

When I retrieve items from my list using REST API, I generate rows to an html table but when I try to append it to a table, I get the following errors: Uncaught TypeError: Node.appendChild: Argument 1 ...
OLA's user avatar
  • 211
0 votes
1 answer
35 views

Dynamic list navigation linking abnormally

I created a dynamic horizontal navigation menu that gets its data from SharePoint lists. It renders and works great but I am dealing with a situation that is very abnormal. The items in the ...
OLA's user avatar
  • 211
0 votes
0 answers
73 views

Dynamic SharePoint Master Page Navigation but scope issue for navigation drop-down

I am having a scope issue and not sure why. I am dynamically creating a navigation with drop-down. It does get created but the drop-down is not rendering even though the caret is showing. I believe ...
OLA's user avatar
  • 211
1 vote
1 answer
114 views

Using JavaScript and DOM manipulation to create Cascading Drop Down but rendering incorrectly

I have a simple list that has two drop downs. I am using JavaScript to create a cascading drop down functionality. A reference to my JavaScript file is placed in a content editor webpart of the list ...
OLA's user avatar
  • 211
1 vote
0 answers
28 views

Dom changes using javascript Cancels out Css [closed]

I am brand new to programming and javascript, and recently I tried practicing javascript with a website I created and whenever I declare any change in the DOM the website loses its css. Example: ...
Ahmed G.'s user avatar