Contents |
Causes an HTML href attribute to display link results in the current Ajax container. When the browser follows a link that is specified by this function, the HTTP response does not replace the current page; instead, it populates the containing cfdiv
Ajax
AjaxLink(URL)
| Return Type | Return Description |
| void | Code that causes the linked page to be displayed in the containing control. |
| Name | Type | Required | Position | Default | Description |
| URL | String | Yes | 1 | N/A | The URL of the link. |
<cfdiv id="hello-world"> <a href="<cfoutput>#AjaxLink('HelloWorld.cfm')#</cfoutput>">Click me</a> </cfdiv>
Categories: