I often need to interact with my DOM page, how can I do this through WebSharper?
For example, when I want to redirect my page only in JavaScript, I would run:
window.location = "http://www.google.com/";
How can I access windowand install location? what would it look like in F #?
Also, how this will work with functions like IE:
window.navigate("http://www.google.com/")
Note. If there is a built-in way to redirect through WebSharper, I would like to find out, but remember that this is just an example.
source
share