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

parse_url解析 URL

parse_url解析 UR...

parseurl() 用來解析 URL 的函數,適用於(PHP , PHP 5, PHP )。 對嚴...

分享 499之亂》員工倒在最前線?中華電信子公司宏華國際:加班費加倍發給-風傳媒

分享 499之亂》員工倒在最...

我其實很想知道身邊的朋友到底有多少人去排了XD

分享 首度載人試飛成功!日本新創SkyDrive拚2023年造出飛天計程車、30年後人人可搭|數位時代

分享 首度載人試飛成功!日本...

歡迎來到小叮噹的時代。 只是還要年,看來我是享受不到這樣的服務了。

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