tektipster79
Programmer
I don't do much VBScript programming, I have some VBScript in an ASP page.
I need to request the value of a server variable which I have done:
Sub GetRoles
dim decryptedRoles
decryptedRoles = Decode(Request.ServerVariables("HTTP_ROLES"))
GetRoles = decryptedRoles
End Sub
Then, based on the return value of this method, I need to hide a list item:
<ul>
<li id="hide"></li>
</ul>
Something like I would do in Javascript like:
var elem = document.getElementById("hide");
elem.style.display = 'none';
Can I do this?
I need to request the value of a server variable which I have done:
Sub GetRoles
dim decryptedRoles
decryptedRoles = Decode(Request.ServerVariables("HTTP_ROLES"))
GetRoles = decryptedRoles
End Sub
Then, based on the return value of this method, I need to hide a list item:
<ul>
<li id="hide"></li>
</ul>
Something like I would do in Javascript like:
var elem = document.getElementById("hide");
elem.style.display = 'none';
Can I do this?