Get child controls on server control using javascript ASP.NET
===

I've create a basic composite server control that contains a button.

    <Custom:Class1 ID="testClass" ClientInstanceName="test1" runat="server"></Custom:Class1>

I would like to be able to get to the child controls using javascript for example:

   var myButton = testClass.FindControl('btnTest');

Is there anyway to do this?