angularjs - angular ng-click in button in ie9 -


the ng-click directive in button works in ie9 when developer console opened.

<button class="btn btn-primary" type="button"          data-ng-click="go('/edit')">edit</button> 

this works in other browsers in ie9 doesn't call go function unless open developer console.

do have console.log somewhere in function? @ least older versions of ie have habit of defining console when console open, , without definition you'll reference error, conveniently hidden fact console isn't open.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -