DOM cannot be acquired from the HTML source entered in the HTML widget
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2019 01:11 AM
Hi all.
I want to get the DOM element of the HTML source added to the HTML widget using the client script in the widget editor.
I used document.getElementsByClassName in clientscript. but it not worked.it return " NULL"
how do i get DOM?
thank you all answers.
Labels:
- Labels:
-
Service Portal Development
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2019 08:41 PM
Check isolate script flag to be false on the client script.