title: Jeditable enabled only on user profile page when logged in
body: <p>I know how to display code using an <code>IF</code> statement in <code>PHP</code> checking for <code>$_SESSION</code> variables of the user currently logged in, but I am not sure how to enforce this check when javascript is involved.</p>
  
  <p>More specifically, I want to follow the Jeditable tutorial from <a href="http://www.appelsiini.net/projects/jeditable" rel="nofollow">http://www.appelsiini.net/projects/jeditable</a> and make it so that fields are only editable to a logged in user when viewing his own profile. Viewing other profiles will only display content regularly.</p>
  
  <p>Seems fairly simple, any ideas?</p>