Sealyu

          --- 博客已遷移至: http://www.sealyu.com/blog

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks
          <2010年6月>
          303112345
          6789101112
          13141516171819
          20212223242526
          27282930123
          45678910

          常用鏈接

          留言簿(14)

          隨筆分類

          隨筆檔案

          友情鏈接

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          FCKeditor offers a complete JavaScript API so you can interact with it once the editor is loaded and running.

          Once loaded, the editor registers a global object called FCKeditorAPI. This object offers the entry point to interact with any editor instance placed in a page.

          NOTE: The FCKeditorAPI object will not be available during the page load. You need to wait for the editor to be loaded to use it.

          Often, I see that people complain about a JavaScript error, “FCKeditorAPI is not defined”, when they try to use FCKeditorAPI.

          For example

          The following code will throw a JavaScript error when you try to use the FCKeditorAPI -

          You can resolve the JavaScript error by adding a line of code (Line # 4) as shown below -

          Hope this helps!

          posted on 2010-06-22 00:12 seal 閱讀(1383) 評論(0)  編輯  收藏 所屬分類: Javascript
          主站蜘蛛池模板: 勃利县| 开远市| 安塞县| 汾阳市| 黄骅市| 江安县| 原阳县| 共和县| 张家口市| 阳江市| 丁青县| 贺兰县| 平谷区| 南和县| 柳河县| 鹿泉市| 清徐县| 呼伦贝尔市| 惠水县| 甘肃省| 随州市| 京山县| 扎鲁特旗| 当涂县| 莱阳市| 镇巴县| 陆川县| 油尖旺区| 抚顺县| 滨海县| 忻城县| 普安县| 塔城市| 永春县| 碌曲县| 西和县| 大冶市| 镇平县| 安福县| 射洪县| 云安县|