[jQuery] How can I create an element dynamically using jQuery

2010-01-07 Thread kimbaudi
Hi, I'm sorry if this question has already been asked, but I searched for the term 'create element' on the jQuery Google Groups and didn't find the answer. I basically want to create html dynamically and be able to add it to my webpage. Suppose I have the following html: This is the first paragr

[jQuery] jQuery does not stripe visible table rows correctly

2010-01-01 Thread kimbaudi
Hi, this is my first post on the jQuery Google group. I have been using the Prototype Javascript library and am now trying to learn to use the jQuery Javascript library. For my first attempt at using jQuery, I have been trying to stripe visible table rows and found that jQuery does this incorrect