I did a little test,may be my way is not right ,but show me how you make it happen please/
***code-start <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title> <!-- tinyMCE --> <script language="javascript" type="text/javascript" src="js/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> // Notice: The simple theme does not use all options some of them are limited to the advanced theme tinyMCE.init({ mode : "textareas", theme : "simple" }); </script> <!-- /tinyMCE --> <script language="javascript"> function test1(){ document.getElementById("test1").innerHTML = "<textarea></textarea>" } function test2(){ document.getElementById("test2").innerHTML = "<textarea></textarea>" } </script> </head> <body onload="test1();"> <div id="test1"><textarea></textarea></div> <input type="button" onclick="test2()" value="test2" /> <div id="test2"></div> </body> </html> ***code-end 2007/1/15, Felix Shnir <[EMAIL PROTECTED]>: > include tinymce before prototype. > > Felix. > _______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
