For give event onfocus
_onFocus("my_input",function(res){ _printTo("result_event","On Focus "+ res); });


For give event resize screen
_onResize(function(r){ _writeLog("Resize Screen : "+r); });

For give event on change
_onChange("my_text",function(){ var v = _getValById("my_text"); _printTo("result_event",v.toUpperCase()); });
For give event on key up


_onKeyUp("input_one",function(v){ _printTo("display_text_1",_getValById("input_one")); });
For give event on key down


_onKeyDown("input_two",function(v){ _printTo("display_text_2",_getValById("input_two")); });
For give event on key up and then write to element



_onKeyUpToText("input_three","display_text_3");


For give event on mouse over


Hello World


_onMouseOver("my_text",function(){ _printTo("display_my_text","Mouse Over !"); });
For give event on mouse out
_onMouseOut("my_text",function(){ _printTo("display_my_text","Mouse Out !"); });
For give event on right click to HTML
_rightClick(function(){ alert("Do Something Here"); });



For give event on drag to HTML
_onDrag("my_image",function(){ alert("On Drag"); });
For give event on drop to HTML
_onDrop("my_image",function(){ alert("On Drop"); });