replace textarea with javascript?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • olddocks
    New Member
    • Nov 2007
    • 26

    replace textarea with javascript?

    i am currently working on a WYSIWYG html editor with javascript. i have to convert textarea to iframe to do get the html environment to get it work as form POST.

    my questions are..

    1. can iframe submit the POST form data to script? is it form object?
    2. does anybody know how to replace those textarea with iframe?

    i am looking to code my own rich text editor which is a text area replacement.
  • rnd me
    Recognized Expert Contributor
    • Jun 2007
    • 427

    #2
    1- no, javascript can olny read GET params.

    2. style each one with a different class, and alternatly hide or show each one by changing its class.

    Comment

    Working...