I am trying to add step to my HTA file, an extra OU value if Windows 8 checkbox is checked (OU=Windows8,) in front of the OU path that gets outputted (OUName). Currently my drop down contains the following:
function Win8()
{
var x=document.getElementById("myCheck").value;
document.getElementsById("Win8").innerhtml=x;
}
The other java code is below which adds these 2 ou values together:
var OUDrop = document.getelementById("OUName") + document.getElementById("Win8");
When I try to run this and proceed in my script I get an answer- Unable to get property 'undefined' of undefined or null reference. Not sure what I am doing wrong.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
I am trying to add step to my HTA file, an extra OU value if Windows 8 checkbox is checked (OU=Windows8,) in front of the OU path that gets outputted (OUName). Currently my drop down contains the following:
My checkbox says the following
Then I have my Java saying:
When I try to run this and proceed in my script I get an answer- Unable to get property 'undefined' of undefined or null reference. Not sure what I am doing wrong.
Share this post
Link to post
Share on other sites