Client-side code DOM manipulation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 05:29 AM
Hi,
Which elements are under DOM manipulation in the client script?
Thanks and Regards,
Ramarao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 11:06 PM
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 11:50 PM
Hello Raghav,
Thanks for that!
One more query, Below script contains a document and is this script under DOM Manipulation?
Can you please check once and help me?
Code :
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
var manager = new GlideAjax("ccc_Utils");
manager.addParam("sysparm_name","getServiceOfferingKnowledge");
manager.addParam("sysparm_Ticket",newValue);
manager.getXML(ajaxResponse);
function ajaxResponse(serverResponse) {
var answer = serverResponse.responseXML.documentElement.getAttribute("answer");
g_form.setValue("u_service_offering",answer);
}
//Type appropriate comment here, and begin script below
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 12:20 AM
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 12:24 AM
Hello Raghav,
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 09:56 PM
Hello Raghav,
I have one more doubt. Can you please help me with that?
location.assign(URL) is under DOM manipulation?