Ok, i'm trying to create an editable IE section in replace of a text area so i can enable some rich editing capabilities, however i'm having problems actually submitting the page.
I have an htc like this:
<div id=edit_area contenteditable align=left type="text" class="textbox"></div>
(with some button code... (all simple out the box stuff)
then i have an html file:
<html xmlns:x>
<head>
<?import namespace=x implementation="richtext.htc" />
<link rel="stylesheet" type="text/css" href="media/style_ie.css">
</head>
</script>
<body>
<form id="myForm">
<input type="text" name="submitText" size="50%">
<br>
<br>
<br>
<x:editbox id="edit_area" />
<input type=button text="Submit Form" onclick="submitForm();">
</form>
</body>
</html>
This is great..... however what would be fantastic is if i could post the form as normal and somehow have access to the div (in the htc) innerHTML
There could also be more than one instance of richtext.htc on one html page.
Anyone shed any light on the best way of doing this?
Many Thanks
I have an htc like this:
<div id=edit_area contenteditable align=left type="text" class="textbox"></div>
(with some button code... (all simple out the box stuff)
then i have an html file:
<html xmlns:x>
<head>
<?import namespace=x implementation="richtext.htc" />
<link rel="stylesheet" type="text/css" href="media/style_ie.css">
</head>
</script>
<body>
<form id="myForm">
<input type="text" name="submitText" size="50%">
<br>
<br>
<br>
<x:editbox id="edit_area" />
<input type=button text="Submit Form" onclick="submitForm();">
</form>
</body>
</html>
This is great..... however what would be fantastic is if i could post the form as normal and somehow have access to the div (in the htc) innerHTML
There could also be more than one instance of richtext.htc on one html page.
Anyone shed any light on the best way of doing this?
Many Thanks