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
Gaurav Raj
NA
475
89.4k
how can read command argument value read with jquery & print
Sep 17 2017 9:28 AM
how can read command argument value read with jquery & print
<script src=
"js/jquery-1.3.2.min.js"
></script>
<script type=
"text/javascript"
>
$(
function
() {
$(
'#TotalComment'
).click(
function
() {
var
lnkProgress = document.getElementById(
'<%= TotalComment.ClientID %>'
);
var
bookingID = lnkProgress.getAttribute(
"CommandArgument"
);
var
na = $(
'#TotalComment'
).data(
'CommandArgument'
);
var
id = $(
'#TotalComment'
).getAttribute(
'commandArgument'
);
alert(
'Alter with jQuery Button Clicked '
+id);
});
});
</script>
<asp:LinkButton ID="TotalComment" runat="server" CssClass="btn btn-link tooltips " Text="check" CommandArgument="1" data-id="1"></asp:LinkButton>
Reply
Answers (
2
)
Make Existing Project Responsive
Please check my code