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.
You should be able to get the value of a dynamically created text element in the normal way.
Here's a demo.
The problem must lie elsewhere.
Can you supply more code?
Thank you for this i got it now
This topic is now closed. New replies are no longer allowed.