Domanda

I am developing a windows 8 app using javascript. I am trying to fetch dynamic content from server but I cant use dynamic content directly so I am using toStaticHTML(result) for getting result.

But My dynamic content includes

Male <input type="radio" name="sex" value="1"/> Female<input type="radio" name="sex" value="0"/>

But name attribute is not accepted in toStaticHTML method. What can i do to solve this problem. Thanks

È stato utile?

Soluzione

Wrap your result in MSApp.execUnsafeLocaLFunction() as described here.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top