title: How to call SSJS function from computed HTML link?
body: <p>I have a computed field on an xpage the result of which is HTML.  In that HTML I want to compute a link that will trigger some server side js function followed by a partial refresh. </p>
  
  <p>My current code looks like this:</p>
  
  <pre><code>&lt;a href="#" onclick="return myFunction()"&gt;Click Here&lt;/a&gt;
  </code></pre>
  
  <p>This will work if my js function is a client-side function but I want to use this function to set the value of a field on the document so I need SSJS.  </p>
  
  <p>Static links that are created from the controls pallet in an xpage allow the link to call SSJS with partial refreshes.  How can I do this with a computed HTML link?</p>