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


  • Hi,

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

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

    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" />


    Wednesday, July 16, 2014 6:29 PM