mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
14 lines
268 B
HTML
14 lines
268 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
function loaded() {
|
|
var node = document;
|
|
var handler = function(operation, key, data, src, dst) { alert(data); };
|
|
node.setUserData("foo", "data", handler);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="loaded();">
|
|
<div id="elem"></div>
|
|
</body>
|
|
</html> |