Rey Bango schrieb:
Interesting to see that they managed to properly format the code I tried to quote in a comment :-)jQuery team member and jQuery UI team lead Paul Bakaus got some great press from Ajaxian for his blog posting "Advanced ternary conditions in JavaScript". Check it out:http://ajaxian.com/archives/fun-with-ternary-operators Direct link to Paul's posting:http://paulbakaus.com/2007/08/17/advanced-ternary-conditions-in-javascript/
-- Jörn