I've declared a NumericTextBox using the MVC helpers, and specified a custom HTML attribute as follows:
Is there any way of getting the value of the 'guid' attribute from the 'fteChanged' function in JavaScript? I've tried $(this).attr('guid') but that doesn't give me anything.
@(Html.Kendo().NumericTextBoxFor(a => costRow.FTE)
.Name(costRow.CostRowId + "_FTE")
.Step(new decimal(0.5))
.Events(e => e
.Change("fteChanged")
.Spin("fteChanged")
)
.HtmlAttributes(new { guid=costRow.CostRowId })
)
Is there any way of getting the value of the 'guid' attribute from the 'fteChanged' function in JavaScript? I've tried $(this).attr('guid') but that doesn't give me anything.