hi, tag, it may be processed and extracted with DOM methods and used into the path. There is no responseHTML attribute belong responseText and How to add html elements dynamically with JavaScript? Tag: How can a page be forced to load another page in JavaScript? A little bit of background information: a JavaScript redirect is a client-side redirect that instructs browsers to load another URL. When a link is clicked, the browser tends to follow it immediately by taking the browser to the destination URL. The best option is always to use a 301 server-level redirect. vijayram 0 Newbie Poster . How do I load an ImageView by URL on Android using kotlin? how to load another page in main page div after click on button Since windowis implicit in the browser, you can also do: Another way is to set the href property of location: location also has an assign()method that accepts a URL, and performs the same thing: The replace() method is different than the previous ways because it rewrites the current page in the history. What is Browser Object Model; How to detect the OS on the client machine in JavaScript? How to postback or refresh page in ASP.NET core. Why not responseHTML? It can be used to get the current URL address (web address) and to redirect the browser to a new page. Tag: How can a page be forced to load another page in JavaScript? Discover more articles. … Loading other files using IFRAME. On button click event I have written JavaScript code like below. Discover more articles. Inline frames (