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
Sheikh parvaz
NA
199
109k
Twitter-Bootstrap nav
Jan 27 2014 4:53 AM
<div style="padding: 10px;">
<ul class="nav nav-pills">
<li><a href="#">one</a></li>
<li><a href="#">two</a></li>
<li><a href="#">three</a></li>
<li><a href="#">four</a></li>
</ul>
</div>
<script type="text/javascript" >
$("li:first").addClass("active");
$("ul.nav.nav-pills li").On("click", function () {
$(".nav.nav-pills li").removeClass("active");
$(this).addClass("active");
});
</script>
the javascript is not working, as I want the selected pill to be active.
Reply
Answers (
1
)
Gridview Update command does not working properly?
How to disable cause of validation for gridview?