Button Disable/Enable issue

  1. #1

    Button Disable/Enable issue

    Hello


    I have two textfield in that case when Textfield data is valid the one div is shown when that div show the button is disabled=false


    in this case the button is not properly shown and onDiectclick will not working

    for that i using the jaavascript like

    when div shown
    document.getElementById("<%= btnForgottenPassWord.ClientID %>").disabled=false;
    div not shown
    document.getElementById("<%= btnForgottenPassWord.ClientID %>").disabled=true;


    what is the problem in that case
  2. #2
    Use this
    "<%= btnForgottenPassWord.ClientID %>".enable();
    "<%= btnForgottenPassWord.ClientID %>".disable();
  3. #3
    Hello Vladimir

    It is Not Working

    any another idea about that
  4. #4
    Please remove quotes from my example, it is copy/paste error

Similar Threads

  1. Replies: 2
    Last Post: Sep 27, 2011, 1:49 PM
  2. Replies: 1
    Last Post: Jul 28, 2011, 4:25 PM
  3. Button Enable/Disable
    By Maia in forum 1.x Help
    Replies: 5
    Last Post: Jul 02, 2010, 8:03 PM
  4. how to disable and enable combobox?
    By sadeque in forum 1.x Help
    Replies: 1
    Last Post: Jul 27, 2009, 5:00 AM
  5. Enable or disable the button
    By VietView in forum 1.x Help
    Replies: 4
    Last Post: Jan 09, 2009, 11:59 AM

Posting Permissions