How to Build a Javascript WYSIWYG Rich Text HTML Editor Textarea Replacement for Web Site Part 2

Views: 8760
Rating: ( Not yet rated )
Embed this video
Copy the code below and embed on your website, facebook, Friendster, eBay, Blogger, MySpace, etc.
 

Tags

avascript   WYSIWYG   Tutorial   How   to   Build   Rich   Text   tutorial   HTML   Editor   textarea   Replacement   CSS   XHTML   iframe   designMode   execcommand   command   identifier   online   web   site   onLoad   text   format   image   link    

earn how to build a Javascript WYSIWYG Rich Text HTML Editor Textarea Replacement for your PHP and MySQL driven applications. In this second video we will script our wysiwyg.js file and code out all of the functions that our HTML form is ready to call. We make use of the execCommand() method in Javascript and all of its Command Identifiers to apply specific formatting we desire to our WYSIWYG editor. Our form is submit using Javascript so we can transfer the data frome our iframe into our textarea for the normal form action to work. The form can also be submit using Ajax if you prefer, then there would be no need to transfer data from the iframe into the textarea. In part 3 we discuss the PHP and MySQL side of things, security, and filtering.

Added by AliTech on 22-07-2011
Runtime: 12m 17s
Send AliTech a Message!

(839) | (0) | (0) Comments: 0