<html>
<head>
<script>
function content(){
alert (this.innerHTML);
}
</script>
</head>
<body>
<div onclick='content(this)'>some text here</div>
</body>
</html>
i get UNDEFINED when i click on the div ..
|
|
+ Reply to Thread
Results 1 to 5 of 5
Hybrid View
Thread InformationUsers Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
|
Bookmarks