Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
how can read command argument value read with jquery & print
Gaurav Raj
7y
189
1
Reply
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>
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Make Existing Project Responsive
Please check my code