What's the wrong with this Javascript line?
user: h.reem
domain: somedomain
var target = "//account/win/winlogin.aspx" +
"?username=" +
user.toString() +
"&domain=" +
domain.toString();
the resutl is always:
//account/win/winlogin.aspx?username=h.reem
Any idea!!

useranddomain? properties of an object? Are they strings? Show us the definition of those.domainanduserinstead ofdomain.toStringanduser.toString? As I feel that domain and user are strings!