We should probably be using three levels of rendering:  <button>
for desktop, <input type="button"> for PDAs that accept Javascript,
and <a href> for anything that doesn't support Javscript.

-- Adam


On 10/27/06, Piyush Hari <[EMAIL PROTECTED]> wrote:

no I meant :

<INPUT TYPE=BUTTON; VALUE="link button"
  ONCLICK="window.location.href='http://www.computerhope.com'">

It works for all the PDA browsers I currently plan to support namely:
Pocket IE, IE Mobile and BlackBerry.


-Piyush
----- Original Message -----
From: "Gabrielle Crawford" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, October 27, 2006 5:37 PM
Subject: Re: goButton on a PDA


> Do you mean something like this:
>
> <a href="http://www.oracle.com";><input type="button"
> value="hi"></input></a>
>
> My recollection is that putting a link around a button didn't work in
some
> pda's. I think since the time that was written the pda's have come a
long
> way. If it works I say go for it.
>
> Thanks,
>
> Gabrielle
>
> Piyush Hari wrote:
>
>>Hello,
>>
>>At present the following logic in GoButtonRenderer renders a goButton as
a
>>LINK (html 'a' tag) on PDAs because they don't support button tag :
>>
>>String element = useButtonTag ? "button" : "a";
>>
>>I wonder why a link is renderered when browsers that don't support
>>'button' tag *CAN* support 'input' tag of type 'Button'.
>>
>>Shall I change this to input type ?
>>
>>-Piyush
>>
>
>


Reply via email to