title: XPages how to get the id of the link when clicked in xp:this.script?
body: <p>How can I get the ID of the link when I click it in the xp:this.script ?</p>
  
  <p>$(this).attr('id') will return an undefined cause this probably refers to the script not the xp:link</p>