JQuery Form Plugin: Can not select form in the future
So I have the following:
- var content = '<td><form id="EmailForm" method="post" action="' + path + '">' +
- '<input type="text" class="eList" name="emailList" title="Email(s)..."/>' +
- </form>'</td>';
- $(this).parent().after(content);
- $('#EmailForm').ajaxForm({
- success: function(d) {
- }
- });
This form is not being selected after it is dynamically inserted. What can I do to select it in the future ?