I have this code: <p class = "foo">Text</p>
And I also have a form: <form action = "XXX.php" method = post></form>
However, how can I get the <p> value when I send it, since the <p> element can be changed.
So, I mean, you can send the <p> value when the user submits the form, and be able to access it from this php file with: $_POST['foo'];
Thank you, I tried to be as clear as possible.
source share