Calling API methodsBefore you can do anything with JavaScript you need to be able to specify which editor you want to communicate with, this is because you can place more than one editor on a page. In order to do this you must know the name of the editor you wish to access.
If you have an IFRAME on your page called "eWebEditor1" with eWebEditor loaded you can access the API functions with: eWebEditor1.<API method>
Sample (read HTML content) var html = eWebEditor1.getHTML();
Note: Please avoid any JavaScript functions other than the functions described in this manual. Functions not described in this manual are subject to change in future versions. Note: JavaScipt language is case sensitive. Please make sure of the spelling. |