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

分享 涉貪想落跑?門都沒有!馬來西亞前總理納吉遭限制出境,印尼「度假」計畫泡湯-風傳媒

分享 涉貪想落跑?門都沒有!...

看起來退任元首接受調查然後移至監牢真的不分國界,覺得以後直接在元首辦公處旁蓋一座監牢比較快,然後退任...

分享 壞處多過好處,蘋果共同創辦人Steve Wozniak要脫離臉書了!

分享 壞處多過好處,蘋果共同...

覺得使用了一個社群平台,對個人來說就像是使用了一個關於社交或社群的工具,你無法保證每個人的使用心態是...

分享 猴子自拍照爭議落幕了,美上訴法院:猴子沒有著作權

分享 猴子自拍照爭議落幕了,...

總之,全都是人搞出來的。 而牽扯到人的問題永遠都是複雜。

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