none
Unable to Select Checkbox using Toggle In Internet Explorer Version 11 RRS feed

  • Question

  • Hi ,

    I am using Many Check Box list in my Java Servlet Application

    _______________________________________

    I am able to Select All checkbox using 

    <input name="toggleAll" id="toggleAll" onclick="ToggleAll(this)" type="checkbox" />

    But While Selecting only one Check Box unable to check it.

    <input name="ChckBx" id="chk1_4" onclick="Toggle(this)" type="checkbox" />

    It throws error as "Toggle is undefined".

    kindly Advice on this issue.

    Wednesday, July 16, 2014 9:46 AM

Answers

  • Hi,

    Post questions about html, css and scripting to the IE Web Development forum.

    http://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment

    Include with your questions a link to your website or a mashup. Please ensure that you have validated and corrected any markup errors first... validator.w3.org.

    you don't need an onclick handler to Toggle a single checkbox.

    Toggle is undefined means that you don't have a function named Toggle in your code. But if your intention is to only change the checked state of the input from unchecked to checked of THAT checkbox, it is done automatically.

    change you markup to:

    <input name="ChckBx" id="chk1_4" type="checkbox" />


    Rob^_^

    Wednesday, July 16, 2014 6:29 PM