Author: Ferdin_Sylvester | Posted on: 12/16/2009 5:48:12 AM | Views : 403

Hi, I m using a FCKEditor to get a text and insert the text  into DB on  a button click, everything is working fine, but when i add a javascript to disable the button after first click to prevent multiple insertion,  i m facing a problem that FCKEditor.value is empty when it gets inserted though the text  is visible in the window. If i use a textbox instead of FCKEditor its working fine as i expect. i m unable to trace the problem...

The code what i have used is :
<asp:Button ID="btnSve" runat="server" Text="Submit" ValidationGroup="newRequest" OnClientClick="this.disabled = true; this.value = 'Please Wait...';" UseSubmitBehavior="false" onclick="btnSve_Click"  />
...

Go to the complete details ...