Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to switch between html pages

function change_page(){
   // similar behavior as an HTTP redirect
   window.location.replace("test.html");
   //or
   // similar behavior as clicking on a link
   window.location.href = "test.html";
}; 
Comment

PREVIOUS NEXT
Code Example
Html :: bootstrap two buttons side by side with space 
Html :: adding a favicon in html 
Html :: input hidden 
Html :: base64 image html example 
Html :: html file input file filter 
Html :: viewport meta tags 
Html :: iframe youtube autoplay not working 
Html :: gender selection in html 
Html :: how to center link in html 
Html :: js onclick redirect 
Html :: upload icon font awesome 
Html :: html entity and 
Html :: html skype link 
Html :: auto update copyright year javascript 
Html :: html pi symbol 
Html :: html ö 
Html :: plural of axis 
Html :: select first option deselect 
Html :: youtube embed autoplay 
Html :: ngfor index 
Html :: web mdc cdn 
Html :: open link in a new tab hmtl 
Html :: bootstrap 5 datalist example 
Html :: ionic onfig.xml hide loader 
Html :: justify content space between class bootstrap 
Html :: clear html screen 
Html :: create a table in html with 3 rows and 4 columns 
Html :: what file extension sould you use to save a website 
Html :: align right tailwind 
Html :: html5 video player 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =