<html> <body> ljkj <div id=my>HI</div> </body> </html> <script> function $(id) { this.load = function() {alert(1);} } $('my').load(); </script>