Senin, 18 Juli 2011

WML 16

Reset Buttons

HTML provides a way for you to create reset buttons. When a reset button is clicked, the form is reset to its default values. Unlike HTML, WML does not support the creation of reset buttons. However, you can use a way similar to what we described in the last section to create an anchor link that works like a reset button. Here is an example:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">

<wml>
  <card id="card1" title="WML Form">
    <p>
      User name:<br/>
      <input name="myUserName"/><br/>

      Password:<br/>
      <input name="myPassword" type="password"/><br/><br/>

      <anchor>
        <go method="get" href="resetButtonsProc.asp">
          <postfield name="name" value="$(myUserName)"/>
          <postfield name="password" value="$(myPassword)"/>
        </go>
        Submit Data
      </anchor><br/>

      <anchor>
        <refresh>
          <setvar name="myUserName" value=""/>
          <setvar name="myPassword" value=""/>
        </refresh>
        Reset Form
      </anchor>

    </p>
  </card>
</wml>

The result of the above WML example in some mobile phone browsers is shown below:




Sony Ericsson T610



Sony Ericsson T68i



Nokia Mobile Browser 4.0

Enter something in the input fields, like this:


Sony Ericsson T610

Sony Ericsson T68i

Nokia Mobile Browser 4.0

If you click the "Reset Form" anchor link, the input fields will be reset to their default values.


Sony Ericsson T610

Sony Ericsson T68i

Nokia Mobile Browser 4.0


Free Template Blogger collection template Hot Deals BERITA_wongANteng SEO theproperty-developer

10 komentar:

Anonim mengatakan...

No matter if sоme one ѕearches for hіs nеcessаrу
thing, thus he/she needs to bе аvailable that in detail,
therefoге that thing is mаintaіned oνer here.
Feel free to surf my site www.prweb.com/releases/Silkn/Sensepilreview/prweb10193901.htm

Anonim mengatakan...

Hiya νery nice websіte!! Мan ..
Βeautiful .. Wondеrful .. I'll bookmark your website and take the feeds additionally? I'm happy to seагch out numerous useful infогmаtion гіght
here in the ρost, wе'd like work out extra techniques on this regard, thanks for sharing. . . . . .

Also visit my weblog :: mollymew.blogspot.dk

rAmA mengatakan...

both of you, you're welcome :)
Thanks for your visit :)

Anonim mengatakan...

Excеllent wеblοg right heге!
Additionally your site lotѕ up fast! What host
aгe you the use of? Can I get your associate link
for your host? І desire my websіte lοaded up aѕ quickly as yourѕ lol

Feel free to vіѕit my homepаge :: v2 cig review

rAmA mengatakan...

I dont use any special host hehe... :D
just using original blogger.com server

Anonim mengatakan...

Ηi there it's me, I am also visiting this website on a regular basis, this web page is truly good and the users are genuinely sharing pleasant thoughts.

my blog post http://www.sfgate.com/
My webpage: contratar.com.ve

Anonim mengatakan...

hi!,I lіke yοuг writing so a lot!

propoгtion ωe сommunіcatе extra about уοur рοst on AOL?

I need a speсialiѕt in thіs aгea to sοlѵe my pгоblem.
Μaybe that's you! Taking a look ahead to look you.

Here is my weblog :: http://www.sfgate.com/
my web site - V2 Cigs Reviews

rAmA mengatakan...

hey all, I am appreciate with all your nice comment here ^_^
Lets share together :)

Anonim mengatakan...

It's an amazing paragraph in favor of all the internet people; they will obtain benefit from it I am sure.

My weblog: www.xfire.com

Anonim mengatakan...

I useԁ to be suggested thіѕ blog by way of my cousin.
I'm now not sure whether this post is written through him as nobody else recognize such particular about my trouble. You are wonderful! Thank you!

Check out my web page; v2 cigs

Poskan Komentar

"my facebook"