I might be asking a real dumb question here but cant find any good reading material to put my mind at ease.
I have taken over a project that uses several different jquery files. currently he header looks like:
<head>
<title>
Capture New Order
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/application/assets/CSS_JS/jquery.mobile-1.1.1.min.css" />
<link rel="stylesheet" href="/application/assets/CSS_JS/green.min.css" />
<script src="/application/assets/CSS_JS/jquery-1.7.2.min.js"></script>
<script src="/application/assets/CSS_JS/jquery.mobile-1.1.1.min.js"></script>
<link rel="stylesheet" href="/application/assets/CSS_JS/elf.css" media="screen">
<link href="<?php echo base_url() ?>application/css/ui-lightness/jquery-ui-1.8.custom.css" media="screen" type="text/stylesheet" rel="stylesheet">
<script src="<?php echo base_url() ?>application/scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="<?php echo base_url() ?>application/scripts/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo base_url() ?>application/css/sales.css" />
<script type="text/javascript">
$(function(){
$("#customer").autocomplete({
source: "get_customers"
});
});
</script>
</head>
In this example I am calling various jquery files 4 times. However if I delete any one of these jquery files it breaks the functionality of the site.
Is there no single 'master' jquery file that has all available features?
Surely that will make more sense than having several different jquery files?
Apologies if this is a 'simple' question but just want some clarity.
Thanks, Ryan