Monday, January 19, 2015

Enabling Knockout Components in IE6 to IE8

In order to enable knockout components in Internet explorer 8 and below, we need to register the components in the head section of the html, this way IE will not discard the components when the html page is loaded.
If you are using Asp.Net MVC then you can organize your components into subfolders and use the following snippet which gets the name of the folders containing each component and creates an element using the folder name that houses each component.
    
         

No comments :

Post a Comment