Hi, I need some help please...i am submitting form via jquery.ajax,and i am creating textbox dynamically in the form.now my problem is i want to get the value of my dynamic text box using classname.

I tried this but it's not working.

txt = $('.infoclass').val();

	   $('.mydiv').append('<input type="text" name="info[]" class="infoclass">');

Thank yoiu in advance.