Teacher html
Jump to navigation
Jump to search
Line 456: | Line 456: | ||
<script> | <script> | ||
− | $(function(){ | + | $ci(function(){ |
− | $('select[multiple]').multiselect({search: true}); | + | $ci('select[multiple]').multiselect({search: true}); |
− | $('.ci_form textarea').autosize(); | + | $ci('.ci_form textarea').autosize(); |
if("</html>{{PAGENAME}}<html>" == "FormEdit/Teacher") { | if("</html>{{PAGENAME}}<html>" == "FormEdit/Teacher") { | ||
− | $('#picture_section').hide(); | + | $ci('#picture_section').hide(); |
} | } | ||
− | $('form').submit(function() { | + | $ci('form').submit(function() { |
// ***attention !!! | // ***attention !!! | ||
// otherwise pageforms will not retrieve it! | // otherwise pageforms will not retrieve it! | ||
− | $('input').removeAttr('disabled'); | + | $ci('input').removeAttr('disabled'); |
return true; | return true; | ||
}); | }); |
Revision as of 22:53, 7 July 2020