1. I've started a massive SPAM purge, any accounts that have spammed are being removed, also for a short period new user signups are disallowed until the SPAM cleaning is finished.

How do I change the caption text of a href with jQuery?

Discussion in 'Java Script/AJAX' started by yourwish, Sep 24, 2012.

  1. yourwish

    yourwish Member

    Joined:
    Sep 20, 2012
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Gender:
    Male
    Location:
    PK
    Code (Text):
    div id="fotocarrousel">
     
    <img src="pk.jpg" width="400" height="300" />
     
    <p><a href="bladzijde1.html">titel1</a></p>
     
    <ul>
     
      <li class="active"><a href="bladzijde1.html">1</a></li>
     
      <li><a href="bladzijde2.html">2</a></li>
     
     
    </ul>
    And I need to change the caption text of the first href from titel1 to titel2.

    Ive used a few options, but non of them will work.

    The code just needs to change it. Not on a specific event, just, when document is loaded, automatically change the caption text.

    Thanks!
    Loading...

Share This Page