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
http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js
Then try using some jquery function on it and see it working. The following is an example that I got from w3schools,
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script>
<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 :)
How to include the following script library to your XPage?
ReplyDeleteTjilik@yahoo.com
I think the page has eaten up your html text...
ReplyDeleteEncode your script tags and repost them so that I can have a look at it