Hi,
I am trying to add an iframe to the about page, but i am running into a problem.
I am using javascript to get the user id of the current user, but it doesn't seem to work.
I want to put the user ID at the end of the URL to show unique content for each user.
The userID output is just blank for now, so can anyone see what i am doing wrong?
The script:
var re3 = "IFRAMEURL";
var userID = this.getUser().id;
document.getElementById('iframe').src = re3+userID;
Thanks a lot.
I am trying to add an iframe to the about page, but i am running into a problem.
I am using javascript to get the user id of the current user, but it doesn't seem to work.
I want to put the user ID at the end of the URL to show unique content for each user.
The userID output is just blank for now, so can anyone see what i am doing wrong?
The script:
var re3 = "IFRAMEURL";
var userID = this.getUser().id;
document.getElementById('iframe').src = re3+userID;
Thanks a lot.
Comment