[jQuery] Re: Switching Content in same div

2009-03-11 Thread Desinger
But where am I placing the content and image?I dont' see that thank you for all the help though On Mar 11, 1:42 pm, Paul Hutson wrote: > The following will give you a way to do what you want : > > >         function UpdateMe(Type) >         { >                 if (Type == "Blue") >          

[jQuery] Re: Switching Content in same div

2009-03-11 Thread ricardobeat
Can't you load both products, each in it's own container, and show/ hide them? That's easier and faster. $('#products .blue').show(); $('#products .red').hide(); etc. On Mar 11, 11:30 am, Desinger wrote: > Hi, > > Product page would like to load different contents in same di

[jQuery] Re: Switching Content in same div

2009-03-11 Thread Paul Hutson
The following will give you a way to do what you want : function UpdateMe(Type) { if (Type == "Blue") { $("#AreaToView").HTML("Blue Stuff"); } else { $("#AreaToView").HTML("Red Stuff")