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
2answers
22 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 ...
0
votes
1answer
22 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 ...
0
votes
0answers
22 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 ...
1
vote
1answer
79 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 ...
1
vote
0answers
26 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: ...