# Change Hash

## Syntax

```markup
$.setURL = function (url)
```

## Arguments

| <p><em>url</em></p><p> </p> | String | URI that should replace the current URI |   |
| --------------------------- | ------ | --------------------------------------- | - |

## Description

It replaces the current URI by the one that is specified in the parameter “url”.

## Example

The following program illustrates the function call with parameter “url” set to “main/example”:

```
$.setURL("main/example");
```

Function will replace the current URI by “main/example”.
