Method 1:
<script type="text/javascript">
window.onload = function()
{
if (window.jQuery)
{
alert('jQuery is loaded');
}
else
{
alert('jQuery is not loaded');
}
}
</script>
Method 2:
if (jQuery) {
alert("jQuery library is loaded!");
} else {
alert("jQuery library is not found!");
}