supernurd Posted December 18, 2012 Share Posted December 18, 2012 Hello everybody, First of all, I have created a simple content management system. Using PHP/MYSQL/HTML5/CSS3. The Blog page shows all articles, which can be deleted or edited. An article can also be added within the WYSIWYG. This system works fine. However.... We want to make things simpler. Using a combo box that loads the content into the text-area. The Problem we are experiencing is that when the WYSIWYG is put in, it does not allow the content from the database to enter the text area. Without these two lines of code which are placed in the <head>. The content loads into the text-area just fine. " <script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"></script> <script type="text/javascript">bkLib.onDomLoaded(nicEditors.allTextAreas);</script> " What needs to be done to allow the content to enter the WYSIWYG ? Please help ????? Any help will be very appreciated Thank you I have attached the files that allow this to work. /combo.php will show the text area with the combo box if you would like to test it a connection.php file will need to be created. A mysql database with a table called blogs. with the attributes of (id,blog_title,blog_content) combo.php getuser.php Quote Link to comment https://forums.phpfreaks.com/topic/272154-php-combo-box-with-ajax-load-into-wysiwyg-textarea-need-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.