Dreamweaver and Java Script errors
Whilst attempting to add a table to a webpage or copy and paste text from an email/word doc. to Dreamweaver, I keep getting these messages re: JavaScript errors:
"While executing onLoad in Table Commands.htm,
the folloing JavaScript error(s) occurred:
In file ""Table Commands""
ReferenceError: intialize UI is not defined."
Sometimes when I click OK on an error message, another one appears. After clicking this, I can then resume editing the site.
Can someone tell me what I have done to my website and what I can do to fix this please!
Many thanks
RE: Dreamweaver and Java Script errors
Hi Will,
Could be something to do with an element using an absolute location instead of a relative one.
Check the source of your code around the table (Select table, then View -> Code). Are there any javascript scripts in or around the table code? If so, removing them may fix the problem.
Also, this error could be due to the fact that Dreamweaver can't find the JavaScript file containing the function initializeUI() which is launched when you click on the Configure button.
It could be a Word only function that Dreamweaver is confused about. If that's the case, I'd get rid of the Javascript in your code.
If it is a Dreamweaver function, you could try re-installing the extension. Once this is done, look to the folder $dreamweaver\Configuration\Objects\Personal and make sure you have the file object_palette.js ($dreamweaver is your install directory)
Let me know how you go.
Rich