[jQuery] What's wrong with this conditional?

[jQuery] What's wrong with this conditional?


Hi. I'm still struggling with this! It's supposed to load an
alternative stylesheet if images are OFF. I'm trying a zillion
different methods, but they only seem to 'half' work :(
Here's my latest attempt; I tried a ternary as a last resort ;) I
don't get a code error, but still only the 'images on' part of the
sequence works.
// provide for users without images
(($( '<img src="' + '/images/bgimage.jpg' + '#' + Math.random() + '"/