Changeset 385
- Timestamp:
- 10/06/05 06:04:55 (8 years ago)
- Files:
-
- 1 modified
-
trunk/examples/ext_example-body.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ext_example-body.html
r359 r385 64 64 f.num.value = 1; 65 65 } 66 var b = document.forms[0];66 var dest = document.getElementById("editors_here"); 67 67 var lipsum = window.parent.menu.document.getElementById('myTextarea0').value; 68 68 … … 83 83 84 84 div.appendChild(txta); 85 b.appendChild(div);85 dest.appendChild(div); 86 86 } 87 87 … … 171 171 // Finally we "start" the editors, this turns the textareas into Xinha editors. 172 172 HTMLArea.startEditors(xinha_editors); 173 174 //check submitted values175 var submit = document.createElement('button');176 submit.setAttribute('type', 'submit'); //submit.type = "submit";177 submit.innerHTML = "Submit";178 b.appendChild(submit);179 173 } 180 174 … … 184 178 185 179 <body> 186 <form id="editors_here" method="post" action="ext_example-dest.php"> 187 <!-- <textarea id="errors" style="width:100%; height:100px; background:silver;display:none;"></textarea> --> 180 <form id="to_submit" method="post" action="ext_example-dest.php"> 181 <div id="editors_here"></div> 182 <button type="submit">Submit</button> 183 <textarea id="errors" style="width:100%; height:100px; background:silver;"></textarea><!-- style="display:none;"> --> 188 184 </form> 189 <textarea id="errors" style="width:100%; height:100px; background:silver;"></textarea>190 185 <script type="text/javascript"> 191 186 var _oldSubmitHandler = null;
