release v1.0.0 #14
@ -2,7 +2,7 @@
|
|||||||
echo "
|
echo "
|
||||||
<script defer>
|
<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://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("https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js");
|
||||||
readfile("js/calcscript.js");
|
readfile("js/calcscript.js");
|
||||||
|
@ -2,11 +2,11 @@ $(document).ready(function() {
|
|||||||
$('form').change(function() {
|
$('form').change(function() {
|
||||||
raknaUtMeritvarde();
|
raknaUtMeritvarde();
|
||||||
});
|
});
|
||||||
$('.add_row').live('click', function() {
|
$(document).on('click','.add_row', function() {
|
||||||
$('div.sample_row > div').clone().appendTo('form.courses');
|
$('div.sample_row > div').clone().appendTo('form.courses');
|
||||||
raknaUtMeritvarde();
|
raknaUtMeritvarde();
|
||||||
});
|
});
|
||||||
$('.delete_row').live('click', function() {
|
$(document).on('click','.delete_row', function() {
|
||||||
$(this).parent().slideUp(function() {
|
$(this).parent().slideUp(function() {
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
raknaUtMeritvarde();
|
raknaUtMeritvarde();
|
||||||
|
Reference in New Issue
Block a user