Showing posts with label
bind
.
Show all posts
Showing posts with label
bind
.
Show all posts
Tuesday, March 5, 2013
Binding Events with jQuery
$("document").ready ( function( ) {
# binding events (eventname, function-name)
$('#id').bind('blur',
myBlurEvent
)
.bind('focus',
myFocusEvent
);
});
function
myBlurEvent
( )
{
$("#second").html("some comment");
}
Older Posts
Home
Subscribe to:
Posts (Atom)