Hi Charlie,

Thanks for your reply. I am using Business Catalyst (SaaS, hosted
solution) so I can't do the php / ASP thang.

I was using those id's only for reference purposes in this thread.

Thanks.

On Oct 1, 3:14 pm, Charlie Griefer <charlie.grie...@gmail.com> wrote:
> If you're working with server side data like that, couldn't you just write a
> conditional in whatever language you're using (PHP, CF, ASP, etc) to not
> display the <li> if no data?
>
> Also, do you really mean to re-use "database" as an ID for multiple
> elements?  ID's ought to be unique.
>
> On Wed, Sep 30, 2009 at 9:43 PM, Wacko Jacko <jackson.be...@gmail.com>wrote:
>
>
>
>
>
> > Hi All,
>
> > If I had a list displaying data as follows:
>
> > <ul>
> >     <li id="item"><div>Label Here</div><div id="database">{content
> > here if available from database}</div></li>
> >     <li id="item"><div>Label Here</div><div id="database">{content
> > here if available from database}</div></li>
> > </ul>
>
> > Could I hide the whole <li id="item"></li> if their is nothing
> > available to show from the database in <div id="database"> ?
>
> > Thanks in advance for your help
>
> > Jack
>
> --
> Charlie Grieferhttp://charlie.griefer.com/
>
> I have failed as much as I have succeeded. But I love my life. I love my
> wife. And I wish you my kind of success.

Reply via email to