I'm using below method inside WordPress admin to use jQuery library and this is working fine and I don't need to add source for jQuery library for this method.
<script>
jQuery(document).ready(function(){
// works inside WordPress admin without source
});
</script>
But the same method does not work on front end WordPress form and to make it work I've to add source of library?
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>
jQuery(document).ready(function(){
// need to add jQuery source
});
</script>
Why do I need to add source of jQuery library for frontend? How can load WordPress JQuery library to frontend?