javascript - Cordova Windows Phone 8.1: error with bootstrap modal -



javascript - Cordova Windows Phone 8.1: error with bootstrap modal -

i'm trying port cordova application on windowsphone 8.1, , has worked (more or less) fine.

now i'm stucked in problem: i'm using angular , bootstrap-ui, when seek open popup (that works everywhere, in ie) error:

error: unable add together dynamic content. script attempted inject dynamic content, or elements modified dynamically, might unsafe. example, using innerhtml property add together script or malformed html generate exception. utilize tostatichtml method filter dynamic content, or explicitly create elements , attributes method such createelement. more information, see http://go.microsoft.com/fwlink/?linkid=247104.

i have tryed out this: using appendto/jquery-win8 in win8 apps , http://blog.jonathanchannon.com/2013/01/24/using-angularjsbackbonejs-in-windows-8-javascript-app/ have not worked.

any suggestion on how prepare this?

i've had same issue on few of projects started - seems happen if running application visual studio.

the 1 trick found works in main page (where include javascript references) reference platformoverrides.js file before reference angular.js file.

the platformoverrides.js should generated @ compile-time various merges have included in project

javascript jquery angularjs cordova windows-phone-8.1

Comments