Copy link to clipboard
Copied
I get a nasty error telling me 'document.createElement' in not a function, I am attempting to port some JavaScript/HTML across to a dreamweaver extension. Is there an alternative to createElement or a particular method of using it?
Copy link to clipboard
Copied
document.createElement is not a DW API function.
I would recommend reading the Extending DW documentation for your version of DW, the DW4 API documentation is here:
http://help.adobe.com/en_US/Dreamweaver/10.0_API_Ref/index.html
The page also contains a link to the Extending DW documentation.
Both are required reading when creating your own extension also have you downloaded the SDK (the current version is still for mx 2004), a new version is being developed (I am told).
HTH
PZ
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more