Thursday, March 24, 2011

Implementing JQuery in XPages

In an attempt to implement jQuery in xpages, I just wanted to know if XPages work with jQuery. And I understood that it is possible and the following method helped me make it work

First, include the following script library to your XPage

Then try using some jquery function on it and see it working. The following is an example that I got from w3schools,


<p>If you click on me, I will disappear.</p>
<p>Click me away!</p>
<p>Click me too!</p>

Then preview your page and you will be able to see it work

Hope this helps :)


  1. How to include the following script library to your XPage?

  2. I think the page has eaten up your html text...

    Encode your script tags and repost them so that I can have a look at it