Scropion Posted March 28, 2009 Share Posted March 28, 2009 I have the following code for my profile section and it changes every time the user ID is changed, but I want to include a javascript page that allows me to change it everytime a user ID is changed. <script language="javascript"> function showProfile(profile) { if (profile == 1) { document.getElementById('profileTab').innerHTML = "Username: Scropion"; } if (profile < 1 || profile > 4) { document.getElementById('profileTab').innerHTML = "Either the page you requested doesn't exist or can be only viewable by clicking the links above"; } } </script> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.