Click here to Skip to main content
15,118,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a created a CheckBox and it working fine in IE but not in Chrome and Edge. I can click on the name then it will check the CheckBoxes but I cannot when I click on the checkBox it doesn't work.

What I have tried:

Below is my html.

<pre><a href="#" id="aEmployess[@item.empID]">
                                @Html.CheckBox("Product", new { @class = "checkbox parent", @id = @item.empID})
                                    @Html.DisplayFor(x => item.Name)
Peter_in_2780 17-Sep-21 23:08pm
Use browser dev tools to see what is actually rendered. There may very well be something of interest in the browser error log.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900