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

分享 喝咖啡會致癌?!加州法院裁定:咖啡供應商應標明罹癌警語-風傳媒

分享 喝咖啡會致癌?!加州法...

好可怕啊~快先喝一杯壓壓驚。

使用javascript 正規化判斷網址url是否正確

使用javascript 正...

使用javascript判斷網址url是否正確 正規化方式如下: var str = URL; //...

分享 連刪掉的前男友帳號,臉書都幫你存好好?他教你打開臉書個人資料庫,裡面個資多到嚇死人-風傳媒

分享 連刪掉的前男友帳號,臉...

看到這篇文章,突然覺得好笑又有趣,試想這些網站平台不紀錄你的個資那要紀錄什麼,這本來就是他們的商業模...

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