I can confirm this is happening. We had to revert back to an older
jQuery (1.1.4). Any ideas if a ticket has been filed for this bug?

-Cody

On Mar 22, 3:36 pm, claudiopro <[EMAIL PROTECTED]> wrote:
> Apparently, jQuery can't set the "type" attribute of html input fields
> to look like Cocoasearchfields inSafari.
>
> jQuery version: 1.2.3Safariversion: 3.1 (525.13)
>
> Proof follows:
>
> <html>
> <head>
> <script src="jquery-1.2.3.min.js"></script>
> <script>
> $(function() {
> // this works:
> //document.getElementById('s_f').setAttribute('type', 'search');
> // these don't work:
> $('#s_f').attr('type', 'search');
> $('#s_f').attr({type: 'search'});});
>
> </script>
> </head>
> <body>
>         <input type="text" id="s_f" />
> </body>
> </html>
>
> Best regards,
>
> --
> Claudio Procidahttp://www.emeraldion.it

Reply via email to