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");
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.