I am not sure if you are OK using the older version of JQuery which comes with RichFaces 3.3 (i think it is 1.3 or 1.4). If that works, use can just use the JQuery from your JSF view. Note that you would have to use 'JQuery' instead of $ and everything would work fine.

And if you want to use newer version of JQuery with JSF You would have to:

1) Store the JSF's JQuery reference

2) Include new JQuery. Use it.

3) Give the original reference of JQuery that you saved in step 1, back to JSF