Interface LocationFunctions

    • Method Detail

      • assign

        void assign​(JSString newURL)
        function assign(newURL) method loads a new document
        Parameters:
        newURL -
      • reload

        void reload​(JSBoolean optionalArg)
        function reload(optionalArg) - Reload the current document
        Parameters:
        optionalArg - - default false which reloads the page from the cache. Set this paramter to true if you want to force the browser to get the page from the server
      • replace

        void replace​(JSString newUrl)
        function replace(newURL) - method replaces the current document with a new one
        Parameters:
        newUrl -