Can the innerHTML of a div be submitted with a form on a page?
So for example, I have:
<div id=mydiv>SOME TEXT</div>
So, mydiv.innerHTML = SOME TEXT. Let's say mydiv is an element inside of the <form> tags of the page. When the page is submitted, how do I get the value SOME TEXT to go with it? Basically, can it perform as though it were a <textarea> and be submitted with the page?
Thanks in advance,
Troy
So for example, I have:
<div id=mydiv>SOME TEXT</div>
So, mydiv.innerHTML = SOME TEXT. Let's say mydiv is an element inside of the <form> tags of the page. When the page is submitted, how do I get the value SOME TEXT to go with it? Basically, can it perform as though it were a <textarea> and be submitted with the page?
Thanks in advance,
Troy