1 <?xml version="1.0"?> 2 <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> 3 <wml> 4 <card id="card1" title="Card 1"> 5 <p>Test for onevent element which binds prev task with onenterforward event</p> 6 <p>Clicking "Go" will cause it to jump to the card2, but which binds prev task to onenterforward event within onevent element, as a result, it will jump back to card 1</p> 7 <anchor title="Go to card2">Go 8 <go href="#card2"/> 9 </anchor> 10 </card> 11 12 <card id="card2" title="Card 2"> 13 <p>Test for onevent element which binds prev task with onenterforward event</p> 14 <p>This is card2. When card 2 is entered forward, it will jump back to the previous page</p> 15 <onevent type="onenterforward"> 16 <prev/> 17 </onevent> 18 </card> 19 </wml> 20