Technerd_Shawn
New member
Basically,
I have a PHP file that I want users to be able to change the text of a div and then submit the form.. Like this
<form action="somefile.php" method="POST">
<div id="editable" contentEditable="true" for="editable2">Lorem ipsum dolor ....</div>
<input type="hidden" name="editable2" id="editable2">
<input type="Submit" name="Submit" value="submit">
</form>
I want to be able to pull the post from PHP and the output what they edited the DIV to be
Maybe I am taking the wrong approach, if you have an easier way to style the <input type="text"> to look like normal text please let me know
Shaste6
I have a PHP file that I want users to be able to change the text of a div and then submit the form.. Like this
<form action="somefile.php" method="POST">
<div id="editable" contentEditable="true" for="editable2">Lorem ipsum dolor ....</div>
<input type="hidden" name="editable2" id="editable2">
<input type="Submit" name="Submit" value="submit">
</form>
I want to be able to pull the post from PHP and the output what they edited the DIV to be
Maybe I am taking the wrong approach, if you have an easier way to style the <input type="text"> to look like normal text please let me know
Shaste6