I have a PHP script to send private messages. I have the following fileds on page:
I need to fill each field. When i want to send the message to more users I need to write something like : user1,user2,user3 in "To" field. Each user name separated with ,
I have a link on message sending page called "Insert addresses" when I click on link I see a new window. I create this window with following JavaScript code:
This window show all users from address book. I select more users, using checkboxes.
For example, I need users: user1,user2 from address, I check this users and click on Submit button.
Now I want to close the window and put the string user1,user2 in "to" field.
I don't know what I need to do to put the string in "To" field.
Any suggestions ?
Thanks !