.net - CheckboxList input Not working in IE7/6 -
I modified the ASP.NET checkboxlist using CSS. The use of this display hides the input: None and I am able to click on Labels and Cause Postbacks in Firefox but when I click the label in the checkbox list in IE it does not work. What can be wrong here?
My code:
& lt; Div style = "padding-left: 15px;" & Gt; & Lt; ASP: checkbox list id = "CLL" runat = "server" autopostback = "true" repeat layout = "flow" CssClass = "cb" = "cblD_On selected indexchange" by changing the on-select index; & Lt; / ASP: CheckBoxList & gt;
CSS:
.cb input {display: none; }. CB Label {font-size: 80%; Background: #fff url (../images/x.gif) No-repeat; Display area; Width: 300px; Height: 15px; Padding: 1px5px030px; }
Invisible elements do not trigger in IE instead of using hidden elements Due to postback, there would be a better way to use JavaScript if you really want to be creative, you can alert AJAX :) (Do not use just not AJAX ...)
Comments
Post a Comment