|
|
|
@ -4,14 +4,12 @@
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
$("input[name=familyname]").on("input propertychange paste", function () {
|
|
|
|
|
$('#name_title').text($(this).val());
|
|
|
|
|
$("input[name=firstname]").on("input propertychange paste", function () {
|
|
|
|
|
$('#name_title').text($(this).val() + " " + $("input[name=lastname]").val());
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#add_child_row").click(function () {
|
|
|
|
|
$.get("lib/template_child_entry.php", {}, function (resp) {
|
|
|
|
|
$("#child_list").append(resp);
|
|
|
|
|
});
|
|
|
|
|
$("input[name=lastname]").on("input propertychange paste", function () {
|
|
|
|
|
$('#name_title').text($("input[name=firstname]").val() + " " + $(this).val());
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#savebutton").click(function (event) {
|