Loading...

使用javascript判斷網頁編輯器ckeditor是否有輸入內容

Temperature: 0 °C

Mark ChangMark Chang
author_tools

如主題想要使用javascript判斷網頁編輯器ckeditor是否有輸入內容。

var str = CKEDITOR.instances.編輯器id.getData();
alert(str.length);

以上紀錄。
 

#故事  #javascript  #ckeditor  
https://innstory.com/story-使用javascript判斷網頁編輯器ckeditor是否有輸入內容-3030
javascript

Prev
 synology_nas_上如何解決Fatal_error_Call_to_undefined_function_exifreaddata

Next
PHP使用arrayproduct函數求得陣列中的乘積 

About the Author

Mark Chang

離不開電腦的宅男

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

分享 刺激銷量? 市場再傳蘋果計畫推出紅色款 iPhone X - 手機新聞 | ePrice 比價王

分享 刺激銷量? 市場再傳蘋...

紅蘋果都要出來了...意思是說以後還有可能有青蘋果嗎? 所以光用顏色就可以刺激到銷量~果然....人...

分享 微軟宣布重大改組!21年老將下台、解散Windows團隊「轉攻2業務」,一段大時代成歷史…-風傳媒

分享 微軟宣布重大改組!21...

階段性任務的結束。

利用.htaccess隱藏副檔名html和php

利用.htaccess隱藏副...

隱藏副檔名html RewriteEngine On RewriteCond %{REQUESTFI...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format