If all you want to do is switch from one page to another, you can use
a form with just one button like so:

    <form action="http://www.google.com/"; method="GET">
        <button type="submit">Go there</button>
    </form>

You can see how it works here:

    http://jsfiddle.net/g5prs/

The button works exactly like a link. Another solution (one which is
preferred) is to use something like jQuery UI to 'skin' your link and
make it _look_ like a button. Here's an example:

    http://jsfiddle.net/WG9XK/

On Wed, Jun 15, 2011 at 5:49 PM, and_16 <[email protected]> wrote:
> Hello im trying to switch form a page to another page  using a button
> but im not sure how to do it. the only way i can think of is using
> ajax but i dont know how, is there some other way to do it? please
> help me.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>



-- 
Branko Vukelić
[email protected]

Lead Developer
Herd Hound (tm) - Travel that doesn't bite
www.herdhound.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to