62 users online (1 members and 61 guests)  


  Results 1 to 5 of 5

Related

  1. Disable the Save Function    Forum: HTML Forum
    Replies: 3
  2. Replies: 0
  3. Replies: 1
  4. How do I disable right-click?    Forum: Website Scripts Forum
    Replies: 9
  1. #1
    kveerendrareddy's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2007
    Posts
    11

    How to disable buttons in HTML?

    How to disable buttons in HTML?
    For example.. In my application when one button is clicked then it should disable some buttons and should be able to perform any other actions...

  2. #2
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: How to disable buttons in HTML?

    You can do this with javascript. http://www.houseofscripts.com/scripts/javascripts/disablebm.htm is an example.
    Last edited by HTML; 03-09-2012 at 10:49 AM.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more

  3. #3
    JackyBrown's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2007
    Posts
    3

    Re: How to disable buttons in HTML?

    just disabled="disabled"

  4. #4
    automatedwealth's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2007
    Posts
    3

    Re: How to disable buttons in HTML?

    search for javascirpt bookmarklets

  5. #5
    webowner's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2012
    Posts
    1

    Re: How to disable buttons in HTML?

    Use removeAttribute to remove the "Disabled" property.
    Refer link websitetut.com/online/Javascript+Tutorial/how-to-enable-or-disable-html-buttons-with-javascript-.
    It has a demo to add and remove button.



Tags for this Thread