arno - 2005-05-04

Hello,
I would like send few form fields in the same time that the aiContent

I have use this code (ASP page)

<html xmlns:AI>
<head>
<?import namespace="AI" implementation="aiEditor.htc" />
<script language="javascript">
onload = function() {
aiEditor.append( 'ref', '<%=refbase%>' );
aiEditor.append( 'refbase', '<%=refbase%>' );
aiEditor.onbeforeload = function( e ) {
this.content = 'allyourbasearebelongtous';
            }
        }

</script>
</head>
<BODY>

<AI:aiEditor id="aiEditor"
    color="buttonface"
    emo_get="sample/text/emotes.xml"
    font="Arial ,Verdana , Tahoma, Times New Roman,Georgia"
    font_size="8,9,10,11,12,13,14,16,20,24,48"
    height="200"
    hide_btn="anchor,table,image,word,open"
    load_method="inline"
    load_url="sample/text/content.xml"
    link_get="sample/text/links.xml"
    open_method="default"
    palette="web, system"
    pic_get="sample/text/images.xml"
    pic_put="sample/asp/upload.asp"
    save_method="form"
    save_url="addfA1.asp"
    style_import="1"
    stylesheet="internal.css"
    width="600"
    >ABC
    </AI:aiEditor>
    <script>
    aiEditor.onsave = fill_n_post;
    function fill_n_post( e ) {
        your_own_form.your_content.value = e.content;
        // other validation stuff goes here
        your_own_form.submit();
    }
    </script>
    <br>
<form id="your_own_form" method="post" action="addfA1.asp">
<input type="text" name="name" value="123">
<input type="button" value="send da stuff" onclick="aiEditor.save();">
</form>
</body>
</html>

I would like receive in the past page the "name" field and the "aiContent" field.

Can you help me please ?

Thank, best regards
Arnaud

P.S. Sorry for my bad english language