By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,480 Members | 1,743 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,480 IT Pros & Developers. It's quick & easy.

replace textarea with javascript?

P: 26
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.
Jul 22 '08 #1
Share this Question
Share on Google+
1 Reply

rnd me
Expert 100+
P: 427
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.
Jul 23 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.