Opened 9 years ago

Closed 9 years ago

#633 closed defect (fixed)

value not retrieved when submitting via javascript submit

Reported by: Vincent Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: minor Keywords:
Cc:

Description

I read all the posts without getting the info I look for...

I have a new form on a multiform set of pages (with tabs)
When I use the submit button it works fine. When I use a tab link wich calls :

function ftnSubmit(strPage, intTab, intExTab) {

document.form1.action = strPage+"?TB="+intTab+"&exTB=";
document.form1.submit();

}

I won't get the content of what was modified in the field

I am using Firefox 1.0.7 with Xinha :

Release: Trunk (Sun, 02 Oct 2005 23:58:27 +1300)
Head: http://svn.xinha.python-hosting.com/trunk/htmlarea.js
Revision: 377
Last Changed By: kimss

Change History (3)

comment:1 Changed 9 years ago by Vincent

I tried the same on IE6 and again with the last release...

Release: Trunk (Mon, 07 Nov 2005 21:36:41 +1300)
Head: http://svn.xinha.python-hosting.com/trunk/htmlarea.js
Revision: 421
Last Changed By: gocher

Still the same ?

comment:2 Changed 9 years ago by mharrisonline

This might provide some help, see Ticket #450

comment:3 Changed 9 years ago by Vincent

  • Resolution set to fixed
  • Status changed from new to closed

mharrisonline, thanks a lot for your help !

I changed my javascript function from the above (see 1rst post) to :

function ftnSubmit(strPage, intTab, intExTab) {

document.form1.action = strPage+"?TB="+intTab+"&exTB=";

document.form1.myTextArea.value = xinha_editors.myTextArea.outwardHtml(xinha_editors.myTextArea.getHTML());

document.form1.submit();

}

Merry christmas for all !

Note: See TracTickets for help on using tickets.