Thank you, this piece of code is what I was looking for.
On 27 Feb., 03:41, Charles Liu <charles.li...@gmail.com> wrote: > function get(obj) > { > var str; > for(var i in obj) > str+=i+"="+obj[i]+";\n" > alert(str); > > } > > 2009/2/27 Sonya <ayson...@googlemail.com> > > > > > Hello, > > > I just begin to work with jQuery and have some questions. Where I can > > find a list of all properties for elements. E.g. I generate a list > > item: > > var list = document.createElement("li"); > > > How can I fill in in the list? list.text doesn't work. I have to guess > > again and again for each element which properties it has. Is there an > > API where I can see all properties of the object? > > > Thank you, > > Sonya