[jQuery] Re: problem or unable to understand html(val) & empty() function

2007-08-06 Thread Klaus Hartl
Stephan Beal wrote: On Aug 6, 7:45 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: This is a typical case of running into unexpected results because of invalid HTML. A p element must not contain a list. What happens here is that a browser implicitly closes the paragraph before the list starts. Is

[jQuery] Re: problem or unable to understand html(val) & empty() function

2007-08-06 Thread Stephan Beal
On Aug 6, 7:45 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > This is a typical case of running into unexpected results because of > invalid HTML. A p element must not contain a list. What happens here is > that a browser implicitly closes the paragraph before the list starts. Is there a more gener

[jQuery] Re: problem or unable to understand html(val) & empty() function

2007-08-05 Thread james_027
Thank Klaus ... I didn't know that it is invalid to put list inside a cheers, james On Aug 6, 1:45 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > james_027 wrote: > > hi, > > > I have something like this .. > > > > > >Theare are 2 similar employee(s). > >

[jQuery] Re: problem or unable to understand html(val) & empty() function

2007-08-05 Thread Klaus Hartl
james_027 wrote: hi, I have something like this .. Theare are 2 similar employee(s). Bondoc Sheryl Bondoc Sheryl