How do you change the text for all within the a to
continue reading
using jquery
<div class="post-read">
<a href="http://www.google.com">Read More</a>
</div>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do it with jQuery inside of a document ready handler (
$(fn))…jsFiddle.
For the sake of it, here is how to do it without jQuery….
jsFiddle.
This will work good for your piece of HTML, but it isn’t too generic.
If you don’t care about setting
innerTextproperty, you could use…I wouldn’t recommend it though.