This repository has been archived on 2023-12-31. You can view files and clone it, but cannot push or open issues or pull requests.
meritkollen/html/include/html_script_bottom_head.php

28 lines
688 B
PHP
Raw Normal View History

2019-09-17 23:02:41 +02:00
<?php
echo "
<script defer>
";
readfile("https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js");
readfile("https://code.getmdl.io/1.3.0/material.min.js");
readfile("https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js");
readfile("assets/js/calcscript.js");
readfile("assets/js/changeall.js");
readfile("assets/js/sparabetyg.js");
readfile("assets/js/smallScript.js");
echo "
2019-09-17 23:02:41 +02:00
$(document).ready(function() {
$('select').material_select();
});
function updateGrade() {
$('select').material_select('destroy');
2019-11-06 14:32:34 +01:00
window.setTimeout(partB,0);
2019-09-17 23:02:41 +02:00
}
function partB(){
$(document).ready(function() {
2019-11-06 14:32:34 +01:00
$('select').material_select();
});
2019-09-17 23:02:41 +02:00
}
</script>
";