Sorry, typo in the above, should be:
$(function(){
    $("#myTextBox").hide();
});

On Sat, Oct 11, 2008 at 5:17 PM, Ca-Phun Ung <[EMAIL PROTECTED]> wrote:

> Try this:
> $(function(){
>     $(#myTextBox").hide();
> });
>
> On Sat, Oct 11, 2008 at 1:54 AM, noah <[EMAIL PROTECTED]> wrote:
>
>>
>> I don't know if you guys are aware, but there seems to be a bug when
>> using the hide() method in Safari, but only on page load.  So
>> something like this:
>>
>> $(function(){
>> $("#myId").hide();
>> });
>>
>> doesn't work, but if I do:
>>
>> $(function(){
>> $("#myTextBox").css("display", "none");
>> });
>>
>> it works fine.  Weird thing is that something like this works as
>> expected:
>>
>> $(function(){
>> $("myButton").click(function(){
>> $(#myTextBox").hide();
>> });
>> });
>>
>> >>
>>
>
>
> --
> Ca-Phun Ung
> + http://yelotofu.com
> + css, django, hongkong, html, javascript, php
>



-- 
Ca-Phun Ung
+ http://yelotofu.com
+ css, django, hongkong, html, javascript, php

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" 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/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to