Help: .bind function
Help: .bind function
- <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="jQuery/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$('#test').bind('load',function () {
alert('Hello');
});
</script>
</head>
<body>
<div id="test"></div>
</body>
</html>
Why message Hello don't display?
How can bind an event after loading <div id="test"> element?
Thanks a lot.