An old thread but if you wish to go little better then do it like :
Code:
<vb:if condition="$show['remotejquery']">
<script type="text/javascript" src="{vb:stylevar jquerymain}"></script>
</vb:if>
<script type="text/javascript">
if (typeof jQuery === 'undefined') // Load jQuery Local
{
document.write('<script type="text/javascript" src="clientscript/jquery/jquery-{vb:stylevar jqueryversion}.min.js"><\/script>');
var remotejquery = false;
}
else // Load Rest of jquery remotely (where possible)
{
var remotejquery = true;
}
</script>
What it will do that if remote jquery is enabled then will load it, if somehow remote link is not working, it will load local as well when remote is off, it will again load local.