document.location.href = newUrl;
https://developer.mozilla.org/en-US/docs/Web/API/document.location
More Related Contents:
- How to do this while loop
- Attach event to dynamic elements in javascript
- How to access the first property of a Javascript object?
- parseInt vs unary plus, when to use which?
- Difference between HTMLCollection, NodeLists, and arrays of objects
- How do I get a UTC Timestamp in JavaScript?
- Merge 2 arrays of objects
- How to convert dd/mm/yyyy string into JavaScript Date object?
- Best way to get all selected checkboxes VALUES in jQuery [duplicate]
- Is this simple string considered valid JSON?
- How to display image with JavaScript?
- How can I disable HREF if onclick is executed?
- ES6 Dynamic class names
- How to trigger an onkeyup event that’s delayed until a user pauses their typing?
- What happens to code after a javascript redirect (setting window.location.href)?
- show validation error messages on submit in angularjs
- Are arrow functions faster (more performant, lighter) than ordinary standalone function declaration in v8?
- what does eval do and why its evil? [duplicate]
- Are HTMLCollection and NodeList iterables?
- jquery-ui-dialog – How to hook into dialog close event
- How to create OData V2 entity path dynamically in UI5?
- JavaScript variable assignments from tuples
- How to append to New Line in Node.js
- ‘expo’ is not recognized as an internal or external command
- Can I set variables to undefined or pass undefined as an argument?
- using javascript variable in MVC3 Razor view engine
- How to keep the header static, always on top while scrolling?
- How do I get a floating footer to stick to the bottom of the viewport in IE 6?
- Angular controller scope not updating after jQuery ajax call
- How can I compare two color values in jQuery/JavaScript?