To simplified the question,pls help me :
How can i get data from a Div tag like this :
<DIV CONTENTEDITABLE STYLE="height: 40%; width: 60%;" id="a"></DIV>
Example :
PHP Code:
<?
if($_POST[submit]) {
echo $_POST[a];exit;
}
?>
<form method=post action=''>
<DIV CONTENTEDITABLE STYLE="height: 40%; width: 60%;" id="a">Heading 1 </DIV>
<input type=submit name=submit value="go">
</form>
when i cliced "Go",nothing happened,pls help me