[jQuery] Access elements in dynamically loaded markup
Hello,
i'm beginning jquery right now and have a question.
I have a js application, that loads formular-markup dynamically for a
specific entity.
Is there a way to access elements within this dynamically loaded
markup through jquery?
eg.
in the form load function:
$('#container').empty().append($(entityForm.markup).addClass
("formContainer"));
somewhere else, another function (eg to set the value of a input
element):
$('#input_field_a').val(entity.title);
Can i make the elements in dynamically loaded markup be available to
jquery?
thanks in advance
Ole