how to pass a command argument using javascript to a image button
You cannot as ComandArgument is stored in ViewState. But you can get the id of the LinkButton that was clicked using the OnClientClick event
OnClientClick = "return GetId(this)"
And in JavaScript
function GetId(btn){ alert(btn.id); return false; }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.