why we are using this line in client script in servicenow var answer =…
- User
why we are using this line in client script in servicenow var answer = response.responseXML.documentElement.getAttribute("answer");
- Assistant
In ServiceNow, the line you provided is likely part of a client script that is handling an AJAX response from a server-side script or a REST API call. Let’s break down what this line does: