blob: f736a78900d7ee5b42d168da0b30d330e8de41da (
plain)
1
2
3
4
5
6
7
8
9
10
|
<body>
<div id="test-div"></div>
<script>
var testDiv = document.getElementById("test-div");
if (!testDiv.myCustomProperty)
insertMyCustomProperty(testDiv);
else
checkForMyCustomProperty(testDiv);
</script>
</body>
|