locked
Regarding button click event in page navigation login page??

    Question

  • hi ,

        whenevr i click the login button i want to display the home page which is another html page.I am developing this scenario in windows 8 using javascript through navigation scenario.plz help me thanks in advance

         


    Tuesday, February 05, 2013 5:00 AM

Answers

  • Hi satish,

    For your scenario, I think you need Use the Navigation App project template to create an app that contains multiple pages of content. as for click on login button navigate to the home page, you can attach the event handler to your login button in the home.js file's ready function, and in event handler write code like this: WinJS.Navigation.navigate("home.html");

    more details please refer PageControl objects and navigation (Windows Store apps using JavaScript and HTML) (Windows)http://msdn.microsoft.com/en-us/library/windows/apps/jj663505.aspx

    Hope this helps, thanks.


    Yanping Wang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Song Tian Wednesday, February 13, 2013 7:34 AM
    Tuesday, February 05, 2013 8:42 AM
    Moderator