Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
Jun 05, 2009 Jun 05, 2009

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?

TOPICS
Extensions
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 06, 2009 Jun 06, 2009
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines