|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
building html editor with javascript question
It's amazing what it can do. I would like to know what javascript book do you recommend to learn about it and more?
Also, it's interesting to see you can insert image into the editor's text area and resize it. How do you get all the info that the wysiwyg editor produces and do you store these info in a database field that is a db field in a table articles? Thanks, John Last edited by johnn : June 15th, 2002 at 02:39 PM. |
|
#2
|
|||
|
|||
|
Hi John,
Well for learning JavaScript, checkout the JavaScript section on our books page at http://www.devarticles.com/books.php. I would personally recommend the SAMS teach yourself JavaScript in 24 hrs. It doesn't teach you everything, but it does teach you what you need... see http://www.amazon.com/exec/obidos/A...evarticlesco-20 for more info. As for saving the WYSIWYG content, grab the iFrame's document.body.innerHTML value using JavaScript to a hidden fornm variable. You can store it wherever you like using server side scripting such as PHP, etc. |
|
#3
|
|||
|
|||
|
Hi Johnn,
There's an excellent followup article to the first one at http://www.devarticles.com/content.php?articleId=116 which should answer your questions about getting the html out of the iframe, and interfacing with a database. As far as a good intro to Javascript, my personal favourite book range is SAMS Publishing's "Teach yourself" series if you want to learn the basics of a language/technology quickly. For javascript, I read "Teach yourself Javascript in 24 hours", second edition, which gave a thorough grounding in the language. It's not good for advanced techniques, but will get you up and running quickly. Will. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > building html editor with javascript questin |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|