- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
4 Posted Topics
(this is my other account, I can't log into my old one)
I am writing a web site and I am using javascript to read/write to a file. There are multiple sites that say to do this: var file = new File(txtFile); however, it doesn't work. I fired up chrome's developer tools and went to the javascript console, and it gave me …
Siju 1, this is not a case of css not loading. It seems your JavaScript and images are turned off. web pages will appear like this if your javascript and images are not on.
I think what is happening here is that javascript is seeing the **document.getElementById('clickMe').onclick = testOne();** and is assigning the **document.getElementById('clickMe').onclick** value to whatever testOne(); returns. so just try doing this: <input type="submit" value="Click Me" id="clickMe" **onclick="testOne()"**/>
The End.
Matt_17