Add editperson.js
This commit is contained in:
parent
99d749e644
commit
4422a0dc04
@ -4,14 +4,12 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$("input[name=familyname]").on("input propertychange paste", function () {
|
$("input[name=firstname]").on("input propertychange paste", function () {
|
||||||
$('#name_title').text($(this).val());
|
$('#name_title').text($(this).val() + " " + $("input[name=lastname]").val());
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#add_child_row").click(function () {
|
$("input[name=lastname]").on("input propertychange paste", function () {
|
||||||
$.get("lib/template_child_entry.php", {}, function (resp) {
|
$('#name_title').text($("input[name=firstname]").val() + " " + $(this).val());
|
||||||
$("#child_list").append(resp);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#savebutton").click(function (event) {
|
$("#savebutton").click(function (event) {
|
Loading…
x
Reference in New Issue
Block a user