Hy!
Using PHP with FCKeditor .
I tryed everything in last 5 h and no luck . I used FCKeditor to edit content on my page.
When i say EDIT:
- > FCKeditor is loaded normaly + content into, which is edited
- > Then i say UPDATE content and then content is not UPDATED .... !!!!!!!!!!!!!
I am using $_POST to transfare form data ... I am posting 2 data : ID and CONTENT. When i change ID ID is POST normaly but CONTENT is not
EXAMPLE:
LOAD INTO FORM - ID: 1
LOAD INTO FCK- CONTENT: Today is beutifull day
CHANGE ID: 5
CHANGE FCK- CONTENT: 121243141
CLICK UPDATE
RESULT: ID=5 , FCK-CONTENT= Today is beutifull day !!!!!!!!!!!!!!!!!! it should be 121243141
ANY ideas?????
Using PHP with FCKeditor .
I tryed everything in last 5 h and no luck . I used FCKeditor to edit content on my page.
When i say EDIT:
- > FCKeditor is loaded normaly + content into, which is edited
- > Then i say UPDATE content and then content is not UPDATED .... !!!!!!!!!!!!!
I am using $_POST to transfare form data ... I am posting 2 data : ID and CONTENT. When i change ID ID is POST normaly but CONTENT is not
EXAMPLE:
LOAD INTO FORM - ID: 1
LOAD INTO FCK- CONTENT: Today is beutifull day
CHANGE ID: 5
CHANGE FCK- CONTENT: 121243141
CLICK UPDATE
RESULT: ID=5 , FCK-CONTENT= Today is beutifull day !!!!!!!!!!!!!!!!!! it should be 121243141
ANY ideas?????
Re: Problem with FCKeditor: Changed content is not passed !!!
Is PHP getting the content back properly? Are you seeing a POST request in your HTTP logs?
My guess is that you somehow have your edit area outside of whatever form you think it's in, though it's a bit hard to tell.
Re: Problem with FCKeditor: Changed content is not passed !!!
Re: Problem with FCKeditor: Changed content is not passed !!!
Add the following at the beginning of your onclick:
That should update the linked form field before the form is submitted.
Re: Problem with FCKeditor: Changed content is not passed !!!
What can i say ... you know what you are talking about .... TNX ... it is working ... Why did not work that version and what does this do ???
Re: Problem with FCKeditor: Changed content is not passed !!!
The Google Form.serialize() function essentially copies current form data into a buffer for submission - I do similar things within the web application I develop... Because the editor area content may not be synchronized to the form, the Form.serialize() function misses the most recent editor updates and instead retrieves the original editor area value as stored in the editor's hidden form element.
The code snippet I posted first retrieves the FCKeditor instance, then tells it to update the form field (UpdateLinkedField()) with the current contents of the editor.
Re: Problem with FCKeditor: Changed content is not passed !!!
Nice job .... now i understand and will keep in mind in furder development ... I use a lot of ajax but i am very short in knowladge of it as you sow in current problem ... TNX again ... I lost 5 h but what can you do thats the way it is in complex WEB development ...
Re: SOLVED Problem with FCKeditor: Changed content is not passed
I've this problem, but the solution, refresh my page and.... close my box.
What is the solution? :/
Thanks for your help