forked from ArchanaAvv/June2015
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNotes2.txt
35 lines (28 loc) · 795 Bytes
/
Notes2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<script type="text/javascript">
function onTaskBtnClickHandler(){
alert('btn is clicked');
//event registration
//event happens call certain function
//click
//touch
//mouseMove
//mouseUp
//mouseDown//press
//custom events
//focusIn
//focusOut
}
function onDoubleClickHandler(){
alert('on double click ');
}
</script>
$('document').ready(function(){
});
////on user interactions we want to write some logic through jquery
//function onTaskButtonClickHandler(){
// alert('jquery task button handler');
//}
////UnObstrusive Javscript
//$('#taskBtn').click(onTaskButtonClickHandler);//event registration
////event registration
////event handler