Thanks to Dave Methvin, it runs. I didn't try Kean's solution, Dave's was simpler.
And I have one more question: HTML: <fieldset id="div"> <dl> <dd>...something...</dd> </dl> <dl> <dd>...something...</dd> </dl> ... ... ... ... </fieldset> JS: if(previous dl is first dl){ ...} else { ... } - how can I write the condition? (e.g. I have this condition in second 'dl', so previous 'dl' is really first, so it return true...) Thanks.