Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cannot set properties of null (setting 'innerhtml')

pashasapcha
Participant
0 Likes
1,200

Hi, I am learning js . I am facing error

VM20 custom.js:23 Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')

at readData (VM20 custom.js:23:41)

at onload (Welcome.html:14:29)

The following are the screenshots

index.html

custom.js

welcome.html

but I am not getting the username that is given in the input when I execute t.

Hi, I am learning js . I am facing error

VM20 custom.js:23 Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')

at readData (VM20 custom.js:23:41)

at onload (Welcome.html:14:29)

The following are the screenshots

index.html

custom.js

welcome.html

but I am not getting the username that is given in the input when I execute t.

0 REPLIES 0