Interface LocationFunctions
- All Superinterfaces:
JS5ObjectFunctions, JSObjectFunctions
- All Known Implementing Classes:
Location
-
Method Summary
Modifier and TypeMethodDescriptionvoidfunction assign(newURL) method loads a new documentvoidfunction reload(optionalArg) - Reload the current documentvoidfunction replace(newURL) - method replaces the current document with a new oneMethods inherited from interface JSObjectFunctions
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOf
-
Method Details
-
assign
function assign(newURL) method loads a new document- Parameters:
newURL-
-
reload
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
function replace(newURL) - method replaces the current document with a new one- Parameters:
newUrl-
-