OnClient Click javascript using Freetextbox
<p>My javascript doesnt detect my function using Freetextbox..</p>

<p>here's my code in javascript:
I don't know if is the right code for Freetextbox.</p>

<pre><code>function validateFreetextbox()
{

    if(document.FTB_API["txt_Decs"].GetHtml == ''  )   
    {
        alert("Please Fill up desciption.");
        return false;
    }
    else
    {
        return true;
    }
}
</code></pre>

<p>here's the code in my asp.net/C# button.</p>

<pre><code> &lt;asp:Button ID="btn_Add" runat="server" OnClick="btn_Add_Click" Text="Add" 

 Width="231px" Font-Size="11px" Font-Bold="false" ForeColor="#333333"  

 onclientclick=" validateFreetextbox()" /&gt;
</code></pre>
