Quantcast
Channel: ServiceNow Community - Post implementation
Viewing all articles
Browse latest Browse all 108

elmt.innerHTML or elmt.name does not seem to work

$
0
0

On an RITM i want to prevent the variable app_perc to be disabled and allow the user to enter information into it. I cannot seem to get it to work by specifying elmt.name or elmt.innerHTML.

function onCondition() {
if (g_scratchpad.approval == "Approved" || g_scratchpad.approval == "Rejected"){
var refs = document.getElementsByClassName("cat_item_option");
//Get the 'Variables' section
var ve = $('variable_map').up('table');
//Disable all elements within with a class of 'cat_item_option'

read more


Viewing all articles
Browse latest Browse all 108

Trending Articles