I need to check if I need to load JQuery OR it is already loaded by another page !?
How can I check this on client side ?
I want to have something like this:
<script >
if jquery-1.6.2.js isExist then
{return}
else // somehow
load (<script src="../js/jq/jquery-1.6.2.js"></script> )
</script>
This example from modernizr trays to load jquery from the google cdn if it fails it loads local jquery. Your code may be similar.