How to join multiple room in a send request strophe.js lib

Hi all, I have a 10 rooms, when i reload application, i want to join all rooms in a request send to openfire.
Now, i’m using strophe.js in my client, Please give me some advices? Thank all!