Asked by Norton Alex
at 2024-08-28 07:01:55
Point:500 Replies:1 POST_ID:829245USER_ID:12423
Topic:
javascript
Normally, we will set div to be edit as this
<div id='123' contenteditable='true'>,/div>, something like that;
I tried to change it by javascript, it doesn't work
- var node=document.getElementById('123');
- node.contenteditable='false' //it is not working to disable the function