Tuesday, December 30, 2008

[jQuery] Re: display:none not working in IE

Try to use attr("visible",false) to hide your dropdownlist option

On Dec 30, 12:27 pm, "Namrata Vagyani" <vagyaninamr...@gmail.com>
wrote:
> Sorry for late reply.
>
> Actually, I want to hide option in a select box.
>
> Like e.g. Country drop down I want particular countries should be visible
> for particular condition.
>
> Its working fine in Mozilla (that option is not visible) but in IE option is
> visible.
>
> Is their any solution? Or I need to remove that option? Remove works fine in
> both the browsers but it will delete the entry in country drop down.
>
> Thank in advance for all your hard work.
>
>
>
> On Wed, Dec 24, 2008 at 7:28 PM, Kean <shenan...@gmail.com> wrote:
>
> > You might have to look at your CSS if you have declared something like
> > display: block !important;
>
> > On Dec 24, 12:34 am, "ben.hollis" <ben.hol...@gmail.com> wrote:
> > > Guess you'll have to provide a more detailed example of the problem
> > > you're experiencing then.
>
> > > On Dec 24, 12:05 am, "Namrata Vagyani" <vagyaninamr...@gmail.com>
> > > wrote:
>
> > > > This aslo not working :(
>
> > > > On Wed, Dec 24, 2008 at 12:26 PM, ben.hollis <ben.hol...@gmail.com>
> > wrote:
>
> > > > > That should work, but try $(this).hide() instead. It does the same
> > > > > thing.
>
> > > > > On Dec 23, 10:29 pm, Debby <vagyaninamr...@gmail.com> wrote:
> > > > > > Hi,
>
> > > > > > css({'display':'none'}) is not working in IE.
> > > > > > I am trying this in loop, for perticular condition i need to
> > display
> > > > > > none for this case,
> > > > > > so i tried with this
> > > > > > $(this).css({'display':'none'});
> > > > > > but its working fine Mozilla but not in IE
>
> > > > > > Please do needful.- Hide quoted text -
>
> - Show quoted text -

No comments: