Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript [Solved] Append?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28014
    jamygolden
    Member

    What I want to do is have this in my html:

    Code:

    This is my javascript:

    Code:
    $(document).ready(function(){
    $(“a.name”).append(‘

    ‘);
    })

    The problem I am having is that it puts the <div class="clear"></div> inside the <a> tag. How would I get it to be directly afterwards?

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.