Velocity API: View.navigate()

Version 1

    Return To Index

    View.navigate()

    Overview

    Change the current display browser address. Only valid for Web hosts.

    Format

     

    View.navigate(target);
    ParameterDescriptionTypeRequired
    targetThe target URL to navigate to. May be used to run javascript on the page if prefaced with 'javascript:'StringRequired

     

    Example 1

    /* Change current page to wavelink.com 
    */
      
    View.navigate('http://wavelink.com');

    Example 2

    /* Call the javascript function updatePageValues() on the page. 
    */
      
    View.navigate('javascript:updatePageValues();');