SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
672 B

<html>
<head>
<script type="text/javascript">
djConfig = { isDebug: true };
</script>
<script type="text/javascript" src="../../dojo.js"></script>
<script type="text/javascript">
dojo.require("dojo.event.*");
dojo.addOnLoad(function(){
dojo.event.connect([
"source1", dojo.byId("source2"), "source3"
],
"onclick",
function(){ dojo.debug("clicked"); }
);
});
</script>
</head>
<body>
Check your javascript log; the scripts were all loaded in the head.
<div id="source1">
click me!
</div>
<div id="source2">
click me too
</div>
<div id="source3">
click me as well!
</div>
</body>
</html>