FUNCTION:  WMLBrowser.refresh

WMLBrowser.refresh( )
The WMLBrowser.refresh function updates (refreshes) the user interface based upon the current WML browser context. In other words, the current card is updated.
  • If the refresh succeeds, the empty string "" is returned.
  • If the refresh fails, the browser should display an implementation dependent error message.
  • If the browser does not support the WMLBrowser.refresh function, an invalid is returned.
In WML, the refresh tag performs a similar task.
This function does not take a parameter.
Code for RefreshExample.wml
<?xml version="1.0"?>

<card id="card1">
   refresh example
   <do type="accept">
      <go href="RefreshExample.wmls#findrefresh()" />

<card id="card2">


Code for RefreshExample.wmls
extern function findrefresh()

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information