update to jquery 3.4.1 and update calcscript
This commit is contained in:
parent
24bf6336d8
commit
e54effd9b2
@ -2,7 +2,7 @@
|
||||
echo "
|
||||
<script defer>
|
||||
";
|
||||
readfile("https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js");
|
||||
readfile("https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/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("js/calcscript.js");
|
||||
|
@ -2,11 +2,11 @@ $(document).ready(function() {
|
||||
$('form').change(function() {
|
||||
raknaUtMeritvarde();
|
||||
});
|
||||
$('.add_row').live('click', function() {
|
||||
$(document).on('click','.add_row', function() {
|
||||
$('div.sample_row > div').clone().appendTo('form.courses');
|
||||
raknaUtMeritvarde();
|
||||
});
|
||||
$('.delete_row').live('click', function() {
|
||||
$(document).on('click','.delete_row', function() {
|
||||
$(this).parent().slideUp(function() {
|
||||
$(this).remove();
|
||||
raknaUtMeritvarde();
|
||||
|
Reference in New Issue
Block a user