Skip to main content
June 5, 2009
Question

Developing a Dreamweaver Extension (Command) and createElement isn't working?

  • June 5, 2009
  • 1 reply
  • 1133 views

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

pziecina
Legend
June 6, 2009

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