question on innerHTML
Go to solution
Solved by orange,
I think You're running the script before the HTML content is loaded, so you need to move the <script> to the end of your HTML document, before </body> or use JQuery document.ready.
And if your script is not inside a function, there shouldn't be a return value.
-
Topics
-
Caveman0407 ·
Posted in Laptops and Pre-Built Systems1 -
0
-
4
-
300DaysToGTA6 ·
Posted in PC Gaming3 -
MiszS ·
Posted in Networking5 -
3
-
R3AL-AiM ·
Posted in General Discussion2 -
Indian pc builder ·
Posted in Displays7 -
5
-
1
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now