It is my Vb.net code it works perfectly.
But now I want to achieve the same functionality in clientside using JavaScript. Like :
How can I do this?
Please help me thanks in advance.
Protected Sub ChkTaxCheckedChanged1(ByVal sender As Object, ByVal e As EventArgs) Dim chkTax As CheckBox Dim gv1 As GridDataItem chkTax = TryCast(sender, CheckBox) gv1 = DirectCast(chkTax.NamingContainer, GridDataItem) Dim txtAmount1 As Label txtAmount1= CType(gv1.OwnerTableView.ParentItem.FindControl("lblItemAmount"), Label) End SubBut now I want to achieve the same functionality in clientside using JavaScript. Like :
function ChkTaxCheckedChanged1(sender, args) { var check = sender.get_parent()..??????}How can I do this?
Please help me thanks in advance.