Announcement
Collapse
No announcement yet.
X
-
How to handle multiple Key Press using itemKeyPress function
Hi,
Can any one tell me how I can handle multiple Key press in DynamicForm.
Actually I have a functionality that If user press 'Enter' key then I need to perform a action and if user press 'Shift' + 'Enter' then I should ignore that.
Code:,itemKeyPress:function(item, keyName, characterValue){ if(keyName =="Enter" && characterValue==13){ alert("Hi Enter "+ keyName); } }
Thanks in Advance!!Last edited by dilip_gupta; 17 Jul 2011, 23:13.Tags: None
Leave a comment: