html - Binding issues with for attribute in label tag in IE7 -
hi i'm not able put bindings in ids
, fors
attributes in ie7. example works fine in chrome, ie8, ..., doesn't work on ie7 or less
<!doctype html> <html lang="en" ng-app id="ng-app" xmlns:ng="http://angularjs.org"> <head> <meta charset="utf-8"> <title>fjseif</title> </head> <body> <!--[if lte ie 8]> <script src="json2.js"></script> <![endif]--> <input type="radio" id="in{{1+1}}" name="lala"> <label for="in{{2}}">hello1</label> <input type="radio" id="in{{1+2}}" name="lala"> <label for="in{{3}}">hello1</label> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> </body> </html>
the label tag "in{{3}}" does'nt bind input of id "in{{1+2}}"
i believe happens because for id
linking happens @ dom load on ie7, , doesn't happen again after compiling.
is real reason why doesn't work, , if yes, how can solve ?
here's jsfiddle: http://jsfiddle.net/wttye/ (jsfiddle doesn't work on ie7, idea)
Comments
Post a Comment