getElementById in two different pages.
By 승민 백
08 Jun 2017 07:33
English
3 Replies
Hi,
I have 2 html files where I need to access.
So I want to use 'getElementById' in first file, and want to do same thing in second file.
Accessing first file is ok, there is no problem because it is index.html file.
But I cannot access second page's element.
How can i getElementById in second file.
This is error message : app.js (101) :TypeError: 'null' is not an object (evaluating 'authButton.addEventListener')
Edited by: 승민 백 on 08 Jun, 2017
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------