TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hari Shanker
NA
260
34.2k
How To Change The InnerText of anchor Tag Using JavaScript
Mar 20 2016 10:35 AM
Hi Everyone,
I am having an anchor tag i want to change the inner text of anchor tag,as i cannot change the text at server side .so i want to change the text at client side using javascript.
my code is below:
<li><a href="#sometext">Change text</a>
<div id="sometext ">
<a hfref="www.somesite.com"></a>
<div>
<a hfref="www.mysite.com"></a>
<div>
</div>
Thanks
Hari
Reply
Answers (
6
)
Bind image with radio button(image is fetch from database)?
How To Change The InnerText of anchor Tag Using JavaScript