+ 3
Help...
Guys if u don't mind plzzz make me an example of the way w can declare a Dom object and use the property of innerHTML to change its content.. (i tried a lot of ways but i think there must be some kinda bug inside the app itself, which doesn't let u to do that)
2 Antworten
+ 6
Please share the code
- 1
here is.a example.
<html>
<body>
<p id="a">
blah blah
</p>
<script>
document.getElementById("a").innerHTML="now it's different";
</script>
</body>
</html>
I hope this is what ur looking for.