I have a string ctl00_ContentPlaceHolder1_lstViewFormulas_ctrl06_lblCountDown that will come into a javascript function using sender from my asp.net button control...
<asp:Button ID="buttStartTimer" runat="server" CausesValidation="false" OnClientClick="javascript:countdown(this);" Text="Start" />
function test(sender) {
}
The need to get the number directly following ctrl, In the example above it would be 06 (ctrl06_lblCountDown)
How can I extract this number using javascript?
Thanks