Creating URL parameters using HTML links

Creating URL parameters using HTML links

Creating URL parameters within an HTML link consists of using the href attribute of the HTML anchor tag. You can enter the URL parameters directly in the attribute by switching to Code view (View > Code), or by appending the URL parameters at the end of the link URL in the Property inspector Link text box.

In the following example, three links create a single URL parameter (action) with three possible values (Add, Update, and Delete). Depending on the link the user clicks, a different parameter value is sent to the server, and the requested action performed.

<a href="http://www.mysite.com/index.cfm?action=Add">Add a record</a>
<a href="http://www.mysite.com/index.cfm?action=Update">Update a record</a>
<a href="http://www.mysite.com/index.cfm?action=Delete">Delete a record</a>

The Property inspector (Window > Properties) lets you create the same URL parameters by selecting the link, and appending the URL parameter values at the end of the link URL in the Link text box.

This is a picture of the feature being described.

Related topics

  • Collecting data submitted by users
  • URL parameters
  • Retrieving form and URL parameters
  • Understanding URL and form parameters
  • Defining URL parameters
  • Defining form parameters


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Defining Sources of Dynamic Content
Developing Applications Rapidly
 
ASPTreeView.com
 
Evaluation has ЛЖОЦБexpired.
Info...