title: GetType() in Javascript
body: <p>how do i achieve this c# code in javascript</p>
  
  <pre><code>protected void Validate(object sender, EventArgs e)
  {
      var _typeName = sender.GetType().FullName;
  }
  </code></pre>
  
  <p>i want to add the Validate in all RadControls (telerik) and i wanna check if the sender is type of <em>RadDatePicker</em></p>
  
  <p>i tried this but its not working so i wanna check if what is the type name of the sender.</p>
  
  <pre><code>if (Telerik.Web.UI.RadDatePicker.isInstanceOfType(sender)) 
  {
      alert("it is a datepicker");
  }
  </code></pre>
  
  <p>thanks in advance..</p>