Hello,
I have an .aspx page built in SharePoint that I want to get the user name of the currently logged-in user (through ASP) and then manipulate it (using javascript). I'm getting an "object expected" error. Here's some of the code:
function checkGroupPermissions()
{
var loginNameVar = document.getElementById("LoginName1").innerHTML;
--snip--
}
</script>
<div id="loginNameDiv" style="display:none">
<asp:LoginName runat="server" id="LoginName1"></asp:LoginName>
</div>
I appreciate any and all assistance...please and thanks :)