[jQuery] Javascript best practices

[jQuery] Javascript best practices


More & more plugins are using CSS to style the layout, this is good,
but their didn't aware of if user browser don't know javascript, it is
useless to load the CSS, e.g. thickbox
<script type="text/javascript" src="path-to-file/thickbox.js"></
script>
<link rel="stylesheet" href="path-to-file/thickbox.css" type="text/
css" media="screen" />
can be better:
<script type="text/javascript" src="path-to-file/thickbox.js"></
script>
<script>
    document.write('<link rel="stylesheet" href="path-to-file/
thickbox.css" type="text/css" media="screen" />');
</script>