Rectangle 27 0

php how do i post textbox value which is dynamically created by jquery?


Change the jQuery code to this, and it should work fine. Your problem was that you were adding the contents with the "submit" button's click, which would submit the form and the contents would get appended after the submit request.

Note
Rectangle 27 0

php how do i post textbox value which is dynamically created by jquery?


Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).

I don't think it is with the naming, it was on the order in which things took place. The submission happened before the content append. Check my solution, it worked for me =)

I guess your name and is are different for the textbox..Make it same and if you have more than one textbox change the name of the textbox into array otherwise you will get only one value after posting it.

It is good idea.. I tried in your way. but, i'm getting only static element value in php. I could not get dynamic element values.

That i have added in the answer.I have changed the name and id of your textbox into jquery_text

from which name do i post it?

Note