Log in

View Full Version : javascript


soulfly
12-17-2005, 09:05 PM
Good night, folks !

I've got a problem with javascript... example

userfriends = mediumtext split by commas

$user .= "<option value=\"$users[userid]\">$users[username]</option>";

$thefriends = "<select name=\"userid\" tabindex=\"1\" class=\"bginput\" value=\"$users[userid]\">$user</select>\n";

so want i want?

i want another dropdown, that list the friends, of the user, which were added by himself, but without refreshing the browser, is something like that able to do?

thank you for helping,
soulfly :)

sabret00the
12-27-2005, 06:23 PM
this is the wrong place for the thread, but i don't get what you mean exactly, how would he be adding them or do you mean his buddy list?

soulfly
12-27-2005, 10:07 PM
no, not buddy list, this should be an double-dropdown (for administrators). When chaning the username dropdown, they automatic get his friends list (location in user-table, friendsname are separated by comma)