locked
button navigation

    Question

  • there is a button in home.html, on clicking on it, it should navigate to pages/page55.html

    code for button in home.html :

    <buttonid="55"type="button">button</button>

    (using home.js , javascript)

    Thursday, November 06, 2014 5:34 PM

Answers

  • Hi Manu,

    Add a onclick event to the button with javascript code: window.location(http://www.microsoft.com)

    If you need more information you could ref: Quickstart: Using single-page navigation

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Friday, November 07, 2014 6:09 AM
    Moderator