git.schokokeks.org
Repositories
Help
Report an Issue
bibweb.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
3375a8a
Branches
Tags
master
bibweb.git
assets
step6.js
Initial commit
Bernd Wurst
commited
3375a8a
at 2018-03-17 11:42:01
step6.js
Blame
History
Raw
$(function () { $('#details-frischsaft').hide(); $('#submit').prop('disabled', true); $('#btn-frischsaftja').click( function () { $('#btn-frischsaftja').removeClass('btn-default'); $('#btn-frischsaftja').addClass('btn-primary'); $('#details-frischsaft').show(); }); $('#frischsaft').on('input', function () { val = parseInt($(this).val(), 10); if (val > 0 && val <= 150) { $('#submit').prop('disabled', false); } else { $('#submit').prop('disabled', true); } }); });