C
Cincy Steve
Guest
I am new to web app development, and am therefore feeling my way through it all based on a lot of reading and test apps. I am running Visual Studio 2019 Community on a Windows 10 laptop, trying to create an Asp.NET Core MVC app.
I added some <script> code to the index.cshtml file and invoked it from the html code. That worked as expected. But when I moved that same code (absent the <script> tags) to a TypeScript file I added to a "scripts" folder in the project, references to the event.target.result and .errorCode properties as well as to the getElementById('x').value property were flagged as "does not exist".
Any idea what I am missing.
Thanks. Steve
Continue reading...
I added some <script> code to the index.cshtml file and invoked it from the html code. That worked as expected. But when I moved that same code (absent the <script> tags) to a TypeScript file I added to a "scripts" folder in the project, references to the event.target.result and .errorCode properties as well as to the getElementById('x').value property were flagged as "does not exist".
Any idea what I am missing.
Thanks. Steve
Continue reading...