beautypg.com

Dwuri.getqueryvalue(), Dwuri.setqueryvalue(), Dwuri.getquerybyobject() – Adobe Dreamweaver API Reference CS5 User Manual

Page 289

background image

284

DREAMWEAVER API REFERENCE

Document

Last updated 8/27/2013

Returns
None.

DWUri.getQueryValue()

Availability
Dreamweaver CS5.

Description
Retrieves the value associated with the URI name passed as an argument.

For the URI “

http://www.adobe.com/Dreamweaver/CS5/index.htm?q=1502

”,

getQuery("q")

will return

1502

”. Requesting a value for name that does not exist will return an empty string.

Arguments
name

The argument specifies the name in the query.

Returns
A string value representing the value of the name in the query.

DWUri.setQueryValue()

Availability
Dreamweaver CS5.

Description
Sets the name and value associated with the query string of the URI. Setting an empty string as value will remove the
name from the query string.

Arguments
name

The argument specifies the name in the query.

value

The argument specifies the value of the name in the query.

Returns
None.

DWUri.getQueryByObject()

Availability
Dreamweaver CS5.