Capturing input in javascript

  •  10-24-2007, 12:46 AM

    Capturing input in javascript

    Hi,
     
    I am using Cute Editor to save information in the database. Before it is actually saved I'm using javascript to format the information. Since the page is generated using an XML i'm providing the cute editor as pure HTML.
     
    I'm facing a problem when I use javascript onclick on a button to access the information in the cute editor. The first time the button is clicked the javascript gives me an empty string. However on the second instance, the actual content is shown. Tried setting the focus out of the cute editor before the javascript is run but it does not solve this issue.
     
    Is it some setting on cute editor that let's you do this?
     
    Thanks in advance!
    Best regards,
    Himantha
View Complete Thread