UK[əˈsaɪn] US[əˈsaɪn]

vt.Assign, select, allocate; vest, vest; [Law] transfer (property, rights, interest) from one person to another; Prepare...

n.[Commonly used plural][Legal] Transferee, the person who accepts the transfer of property, etc., trustee

Third person singular: assigns present participle: assigning past tense: assigned past participle: assigned

javascript assign() method syntax

Function: Load a new document.

Syntax: location.assign(URL)

javascript assign() method example

<html>
<head>
    <meta charset="UTF-8">
    <script type="text/javascript">
        function newDoc()
        {
            window.location.assign("//m.sbmmt.com")
        }
    </script>
</head>
<body>

<input type="button" value="Load new document" onclick="newDoc()" />

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance