Ok, i've gone about this the wrong way i see... i'm new @ trying javascript too so thanks for the pointers, Costin!
i'm not even sur if you can use switch-case in javascript? Also, i renamed the function, to
Quote:
|
function SetID() {//code}
|
and i still get the error when calling the function.
i can't use the window.onload = SetID() because I have pagE_load events in the code=behind, i.e. datasourcing.
Thanks for your help Costin!
Boog's