CuteEditor In a Child Window

  •  02-22-2004, 5:13 PM

    CuteEditor In a Child Window

    Hello all.  First, kudos on a nice little piece of software. 

     

    I am having an issue that I though maybe somebody had already solved.  I am trying to make a very generic CuteEdtior page that I can access from pretty much anywhere in my site.  Here is what I'm trying to accomplish:

     

    I have an ASP page ("parent.asp") that has about 6 text areas (textarea1, textarea2, ....) where I need HTML editing.  Rather than put multiple CuteEditors on the page , I would like to open a child window ("child.asp") that contains the CuteEditor for ASP functionality.  I would also pass a few variables from the parent.asp window like the form name ("v_formname") and field name ("v_fieldname") in the opened page querystring.

     

    Once the user has edited the text in the child window, I would like for them to press an "Update Parent" button to close the window and pass the data from the CuteEditor child page back to the appropriate form text area field (as defined by the variables I passed earlier). 

     

    I don't want to write to the database first (because I have multiple tables and databases that I'd rather not code) and I don't want to refresh the parent.asp window because that will lose data that will be entered in other places first.  Any help would be appreciated!!! (especially the actual code since I'm sort of a beginner if you haven't already guessed)

View Complete Thread