Solved

DW: ElementById Available?

Posted on 2004-10-06
1
164 Views
Last Modified: 2012-05-05
Hello,

I'm a newbie.

I'm customizing Dreamweaver for our developers.

I'm trying to access the DOM that's available in any web browser.

Does anyone know how I can access it?

I've used:
  var theDOM = dw.getDocumentDOM();

But this doesn't have the same API.

Specifically, it doesn't have document.getElementById or document.getElementByName.

Does anyone know of any alternaltives?

Thanks.
0
Comment
Question by:Vibe_2020
1 Comment
 
LVL 23

Accepted Solution

by:
adilkhan earned 500 total points
ID: 12240356
> Specifically, it doesn't have document.getElementById or document.getElementByName.

Well it has nothing to DW, its your Browser Issuse.

What browser are you using for testing.?

if its IE 5/NS 6 + Then do the following for testing...

lets say you have a ID in your web page

<Div id="test">
Hello Test me
</div>

Then do the Following to grab it with javaScript

<Script>
function kk() {
alert("document.getElementById('test').innerHTML")
}
</Script>
<body onLoad = "kk()">




0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now