jquery not working when i'm not putting it inside a jQuery(document).ready
    jQuery(document).ready(function(){
    	jQuery(".test").click(function() {
    		alert(1);
    	});
    });

When I try not to put :

    jQuery(".test").click(function() {
        		alert(1);
        	});

inside a `jQuery(document).ready()` it won't work.

What do you think is the cause of that one? I already loaded the custom script that has that function.

    <script type="text/javascript" src="/scripts/js/jquery.js"></script>
    <script type="text/javascript" src="/scripts/js/customScript.js"></script>

Any answer would be appreciated and rewarded.

Thanks!
jquery not working when i'm not putting it inside a jQuery(document).ready
===

    jQuery(document).ready(function(){
    	jQuery(".test").click(function() {
    		alert(1);
    	});
    });

When I try not to put :

    jQuery(".test").click(function() {
        		alert(1);
        	});

inside a `jQuery(document).ready()` it won't work.

What do you think is the cause of that one? I already loaded the custom script that has that function.

    <script type="text/javascript" src="/scripts/js/jquery.js"></script>
    <script type="text/javascript" src="/scripts/js/customScript.js"></script>

Any answer would be appreciated and rewarded.

Thanks!