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

分享 新身分證意外引發統獨之爭 花敬群:大家都想太多了-風傳媒

分享 新身分證意外引發統獨之...

我其實也好想要有印有「台灣國民 」字樣的身分證。

使用html2canvas截圖將背景顏色更改為白色

使用html2canvas截...

在Javascript裡,我們可以使用htmlcanvas來將網頁畫面的某個區塊截圖下來存檔。 運用...

分享 「長輩都在上面,我覺得被監視!」年輕人紛紛離開Facebook,誰是繼承者?-風傳媒

分享 「長輩都在上面,我覺得...

社群平台的美意原本應該是提高人與人的互動,但事實上目前看到的大都是人與載具的互動~還曾經看過使用者不...

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