Arguments
inStr
The
argument is the string to decode.
inStr
Returns
A string that contains the decoded URL.
Example
The following example calls
argument and store the resulting string in
outStr = dreamweaver.doURLDecoding("http://maps.yahoo.com/py/
ddResults.py?Pyt=Tmap&tarname=&tardesc=&newname=&newdesc=&newHash=&newTH
ash=&newSts=&newTSts=&tlt=&tln=&slt=&sln=&newFL=Use+Address+Below&newadd
r=2000+Shamrock+Rd&newcsz=Metroo+Park%2C+CA&newcountry=us&newTFL=Use+Add
ress+Below&newtaddr=500+El+Camino&newtcsz=Santa+Clara%2C+CA&newtcountry=
us&Submit=Get+Directions")
dreamweaver.getElementRef()
Availability
Dreamweaver 2.
Description
Gets the Netscape Navigator or Internet Explorer object reference for a specific tag object in
the DOM tree.
Arguments
NSorIE, tagObject
The
argument must be either
NSorIE
nested references differ in Netscape Navigator 4.0 and Internet Explorer 4.0. This
argument specifies for which browser to return a valid reference.
The
argument is a tag object in the DOM tree.
tagObject
Returns
A string that represents a valid JavaScript reference to the object, such as
document.layers['myLayer']
Dreamweaver returns correct references for Internet Explorer for
,
,
,
DIV
SPAN
INPUT
326
Document
dw.doURLDecoding()
outstr
"NS 4.0"
. The string is subject to the following conditions:
,
,
SELECT
OPTION
TEXTAREA
to decode the special characters in its
:
or
. The DOM and rules for
"IE 4.0"
,
A
,
, and
tags.
OBJECT
IMG
,
,
AREA
APPLET
EMBED
,
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?