Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- An easy jquery code I am missing somehow as a jquery novice
- $(document).ready(function(){
- $('dd').xyz('<div class="clear"></div>'); // what will be this xyz function
- });
- <dl>
- <dt>A</dt>
- <dd>AA</dd>
- <dt>B</dt>
- <dd>BB</dd>
- </dl>
- $(document).ready(function(){
- $('dd').after('<div class="clear"></div>');
- });
- $(document).ready(function(){
- $('dd').each(function(){
- $(this).after('<div class="clear"></div>');
- });
- });
Add Comment
Please, Sign In to add comment