Categories | Question details Back To List | ||
Dtmlx scheduler enter key I want to disable the button enter on the textarea in the form. Answer posted by Alex (support) on Dec 04, 2009 05:30 You can set custom onkeypress event handler to textarea: scheduler.form_blocks.textarea.set_value=function(node,value,ev){ node.firstChild.onkeypress = function(e){ if(key==13) (e||event).cancelBubble=true; return true }; node.firstChild.value = value||""; Answer posted by mahesh on Dec 08, 2009 16:35 Is it possible to map or change the key "enter" to become "shift-enter" to create a new line? Answer posted by Alex (support) on Dec 09, 2009 02:15 >> Is it possible to map or change the key "enter" to become "shift-enter" to create a new line? This is default behaviour. |