source: main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-button-rowadd.js @ 11060

Last change on this file since 11060 was 11052, checked in by Henrik Bettermann, 11 years ago

Move js code into separate files.

File size: 252 bytes
RevLine 
[11052]1$("button.rowadd").click(function (evt) {
2   /* Do not submit the form really */
3   evt.preventDefault();
4   /* Add first .form-field after last .form-field... */
5   $(".variable-form:last").after($(".variable-form:first").clone().hide().fadeIn());
6});
Note: See TracBrowser for help on using the repository browser.