Accessibility
 
Home > Products > UltraDev > Support > Defining Dynamic Content
Dreamweaver UltraDev Icon Macromedia Dreamweaver UltraDev Support Center - Defining Dynamic Content
Creating URL parameters with HTML anchor tags

You can create URL parameters with an HTML anchor tag, with an HTML form, or directly in the browser's Address bar. This section describes how to create them with the anchor tag.

This method consists of using the tag's href attribute, which specifies an address of a resource to open. This Uniform Resource Identifier (URI) is a URL or an absolute or relative path to a local document.

You can enter the URL parameters directly in the attribute by switching to Code view (View > Code). The following is an example of three links that create one URL parameter (action) with three possible values (Add, Update, and Delete):

<a href="http://www.mysite.com/myfiles/

    index.asp?action=Add">Add a record</a>

<a href="http://www.mysite.com/myfiles/

    index.asp?action=Update">Update a record</a>

<a href="http://www.mysite.com/myfiles/

    index.asp?action=Delete">Delete a record</a>

Depending on the link the user clicks, a different parameter value is sent to the server.

In UltraDev, you can also enter the parameters in the link's Property inspector by clicking the link and choosing Window > Properties. In the following example, the URL parameter action=Update was entered in the Property inspector

To Table of Contents Back to Previous document Forward to next document