Copy link to clipboard
Copied
This error message pops up when opening some of my html files in a Dreamweaver site:
While executing onLoad, the following JavaScript error(s) occurred:
At line 75 of file "C:\Program Files\Adobe\Adobe Freamweaver 2020\Configuration\Commands\Date_beforeSave.htm":
docElement has no properties
Using Dreamweaver cc 2020 I navigated and opened the htm file. The code at line 75 is:
allText = docElement.outerHTML; // re-fetch
I barely keep up with ccs code, but really don't know what's wrong with the java code here or is it something in the site html file that I am opening that is having a problem with this java code? This file with line 75 seems to be doing something with checking save dates.
Attached a screen shot of several code lines before and after line 75.
Copy link to clipboard
Copied
and down to: Delete FileCache.dat files from the Dreamweaver user configuration folder
Copy link to clipboard
Copied
Ben,
Thank you. I have deleted the file. Hopefully this will take care of it.
Jamie
Copy link to clipboard
Copied
#1 JavaScript and Java are two completely different programming languages.
#2 If the JS error occurs with only certain files in certain sites, please validate code and fix reported errors. Go to Window > Results > Validation. Click the triangle and check document.