View Single Post
Old 10-05-2007, 04:28 AM   #10 (permalink)
Boogle
Contributing Member
 
Join Date: 09-03-07
Location: England
Posts: 485
iTrader: 0 / 0%
Latest Blog:
None

Boogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the rough
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
__________________
Great new 'June' Javascript Framework

June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline   Reply With Quote