powered by Jive Software

How to fetch values from database using JsJac?

I am developing a chatting application using JsJac (jwchat) and openfire.I am new to this JsJac.I want to add one column in the ofroster table and want to insert data in it also want to fetch that data.How should I do it using ?Please send me some sample code if available.

Thanks in advance.